@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/cjs/index.cjs.js
CHANGED
@@ -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
|
-
|
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
|
4018
|
+
this.#overrideOverlaySettings();
|
4020
4019
|
observeChildren(this, this.#onChildrenChange.bind(this));
|
4021
4020
|
}
|
4022
4021
|
};
|