@descope/web-components-ui 1.0.160 → 1.0.161

Sign up to get free protection for your applications and to get access to all the features.
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
  };