@@ -63,10 +63,7 @@ export class Combobox extends LitElement {
6363 :host { // default theme
6464 display: inline-block;
6565 position: relative;
66- z-index: var(--combobox-z-index, 400);
6766 box-sizing: border-box;
68- --combobox-open-z-index: 1000;
69- --combobox-popup-z-index: 1001;
7067 --popup-background: var(--color-background, #F8F9FB);
7168 --popup-text: var(--color-text, #1A1A1A);
7269 --popup-border: var(--color-border, #E5E7EB);
@@ -81,10 +78,7 @@ export class Combobox extends LitElement {
8178 :host([theme='dark']) {
8279 display: inline-block;
8380 position: relative;
84- z-index: var(--combobox-z-index, 900);
8581 box-sizing: border-box;
86- --combobox-open-z-index: 1000;
87- --combobox-popup-z-index: 1001;
8882 --popup-background: var(--color-background, #F8F9FB);
8983 --popup-text: var(--color-text, #1A1A1A);
9084 --popup-border: var(--color-border, #E5E7EB);
@@ -96,10 +90,6 @@ export class Combobox extends LitElement {
9690 --placeholder-color: var(--grey-purple-700, #5e546d);
9791 }
9892
99- :host([popup-open]) {
100- z-index: var(--combobox-open-z-index);
101- }
102-
10393 .popup-box {
10494 position: absolute;
10595 top: 0;
@@ -114,7 +104,6 @@ export class Combobox extends LitElement {
114104 overflow: hidden;
115105 box-sizing: border-box;
116106 isolation: isolate;
117- z-index: var(--combobox-popup-z-index);
118107 }
119108
120109 .select-options-section {
@@ -316,8 +305,6 @@ export class Combobox extends LitElement {
316305 }
317306
318307 protected updated ( changedProperties : Map < string , unknown > ) {
319- this . toggleAttribute ( 'popup-open' , this . _popupOpen )
320-
321308 if ( this . _popupOpen ) {
322309 this . _updatePopupPosition ( )
323310 if ( this . _popupPortalRoot ) {
0 commit comments