@descope/web-components-ui 1.0.160 → 1.0.161

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
@@ -3127,18 +3127,17 @@ const ComboBoxMixin = (superclass) =>
3127
3127
  // so we override it to open inside the shadow DOM
3128
3128
  #overrideOverlaySettings() {
3129
3129
  const overlay = this.baseElement.shadowRoot.querySelector('vaadin-combo-box-overlay');
3130
-
3131
3130
  overlay._attachOverlay = () => {
3132
- this.bringToFront();
3131
+ overlay.bringToFront();
3133
3132
  };
3134
- overlay._detachOverlay = () => {};
3135
- overlay._enterModalState = () => {};
3133
+ overlay._detachOverlay = () => { };
3134
+ overlay._enterModalState = () => { };
3136
3135
  }
3137
3136
 
3138
3137
  init() {
3139
3138
  super.init?.();
3140
3139
 
3141
- this.#overrideOverlaySettings.bind(this);
3140
+ this.#overrideOverlaySettings();
3142
3141
  observeChildren(this, this.#onChildrenChange.bind(this));
3143
3142
  }
3144
3143
  };