Skip to content

Commit

Permalink
fix(select): Fixing bug with select menu z-index (#460)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lukebergen authored and traviskaufman committed Mar 31, 2017
1 parent 9047d07 commit d7784af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mdc-select/mdc-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
max-height: 100%;
transform-origin: center center;
overflow-y: scroll;
z-index: 4; // Should pop up above everything else. temporary-drawer is next highest at 3.
}

&__selected-text {
Expand Down

0 comments on commit d7784af

Please sign in to comment.