From d7784afc35afa59d2d47359d1012c1ee50239308 Mon Sep 17 00:00:00 2001 From: Luke Bergen Date: Fri, 31 Mar 2017 13:09:23 -0400 Subject: [PATCH] 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 --- packages/mdc-select/mdc-select.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mdc-select/mdc-select.scss b/packages/mdc-select/mdc-select.scss index e11d1c1daf7..ad7202b18fe 100644 --- a/packages/mdc-select/mdc-select.scss +++ b/packages/mdc-select/mdc-select.scss @@ -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 {