Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit d7784af

Browse files
lukebergentraviskaufman
authored andcommitted
fix(select): Fixing bug with select menu z-index (#460)
Some elements were showing up over the select menu's pop out. e.g. radio-buttons. To demonstrate the problem, I copied demos/radio.html:72-94 into demos/select.html just after line 74. This puts a radio button right where the select menu pops up. When running the demo without the fix, you can see the radio button over the select menu. With the z-index fix, the menu appropriately pops up over the radio-button. Fixes #432
1 parent 9047d07 commit d7784af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mdc-select/mdc-select.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
max-height: 100%;
9191
transform-origin: center center;
9292
overflow-y: scroll;
93+
z-index: 4; // Should pop up above everything else. temporary-drawer is next highest at 3.
9394
}
9495

9596
&__selected-text {

0 commit comments

Comments
 (0)