We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11d3bbc commit 0e507ebCopy full SHA for 0e507eb
packages/base/src/StaticAreaItem.js
@@ -87,7 +87,7 @@ class StaticAreaItem {
87
this._updateFragment();
88
}
89
await RenderScheduler.whenDOMUpdated(); // Wait for the content of the ui5-static-area-item to be rendered
90
- return this.staticAreaItemDomRef.shadowRoot;
+ return this.staticAreaItemDomRef && this.staticAreaItemDomRef.shadowRoot;
91
92
93
packages/main/src/Input.js
@@ -800,7 +800,7 @@ class Input extends UI5Element {
800
801
async _getPopover() {
802
const staticAreaItem = await this.getStaticAreaItemDomRef();
803
- return staticAreaItem.querySelector("[ui5-popover]");
+ return staticAreaItem && staticAreaItem.querySelector("[ui5-popover]");
804
805
806
enableSuggestions() {
0 commit comments