@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.
@@ -4005,18 +4005,17 @@ const ComboBoxMixin = (superclass) =>
4005
4005
  // so we override it to open inside the shadow DOM
4006
4006
  #overrideOverlaySettings() {
4007
4007
  const overlay = this.baseElement.shadowRoot.querySelector('vaadin-combo-box-overlay');
4008
-
4009
4008
  overlay._attachOverlay = () => {
4010
- this.bringToFront();
4009
+ overlay.bringToFront();
4011
4010
  };
4012
- overlay._detachOverlay = () => {};
4013
- overlay._enterModalState = () => {};
4011
+ overlay._detachOverlay = () => { };
4012
+ overlay._enterModalState = () => { };
4014
4013
  }
4015
4014
 
4016
4015
  init() {
4017
4016
  super.init?.();
4018
4017
 
4019
- this.#overrideOverlaySettings.bind(this);
4018
+ this.#overrideOverlaySettings();
4020
4019
  observeChildren(this, this.#onChildrenChange.bind(this));
4021
4020
  }
4022
4021
  };