@descope/web-components-ui 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -777,8 +777,8 @@ const proxyInputMixin = (superclass) =>
777
777
  }
778
778
 
779
779
  get inputElement() {
780
- const inputSlot = this.baseElement.shadowRoot.querySelector('slot[name="input"]');
781
- const textAreaSlot = this.baseElement.shadowRoot.querySelector('slot[name="textarea"]');
780
+ const inputSlot = this.baseElement.shadowRoot?.querySelector('slot[name="input"]');
781
+ const textAreaSlot = this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');
782
782
 
783
783
  this.#inputElement ??= getNestedInput(inputSlot) || getNestedInput(textAreaSlot);
784
784