Skip to content

Commit 81f79fd

Browse files
authored
fix: dropdown is transparent in Windows OS (#2300)
1 parent 6e9aea9 commit 81f79fd

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,10 @@
165165
gap: var(--rdp-dropdown-gap);
166166
}
167167
.rdp-dropdown {
168-
z-index: 2; /* Remove ? */
168+
z-index: 2;
169169

170170
/* Reset */
171+
opacity: 0;
171172
appearance: none;
172173
position: absolute;
173174
inset-block-start: 0;
@@ -177,9 +178,7 @@
177178
margin: 0;
178179
padding: 0;
179180
cursor: inherit;
180-
color: transparent;
181181
border: none;
182-
background-color: transparent;
183182
line-height: inherit;
184183
}
185184

src/style.module.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,10 @@
165165
gap: var(--rdp-dropdown-gap);
166166
}
167167
.dropdown {
168-
z-index: 2; /* Remove ? */
168+
z-index: 2;
169169

170170
/* Reset */
171+
opacity: 0;
171172
appearance: none;
172173
position: absolute;
173174
inset-block-start: 0;
@@ -177,9 +178,7 @@
177178
margin: 0;
178179
padding: 0;
179180
cursor: inherit;
180-
color: transparent;
181181
border: none;
182-
background-color: transparent;
183182
line-height: inherit;
184183
}
185184

0 commit comments

Comments
 (0)