-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu not covering other controls #432
Labels
Comments
Good catch! I think you're right with needing z-index on menus. If you could submit a pull request with this fix that would be more than appreciated. |
lukebergen
added a commit
to lukebergen/material-components-web
that referenced
this issue
Mar 31, 2017
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 [Issue 432](material-components#432)
traviskaufman
pushed a commit
that referenced
this issue
Mar 31, 2017
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
pgbross
pushed a commit
to pgbross/material-components-web
that referenced
this issue
Apr 5, 2017
…#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 material-components#432
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What MDC-Web Version are you using?
0.7.0
What browser(s) is this bug affecting?
Chrome Version 57.0.2987.110 (32-bit)
Firefox 52.0.1 (64-bit)
What OS are you using?
Windows 10
What are the steps to reproduce the bug?
Place a set of MDC Radio buttons immediately below a Menu, so that the Menu will cover them when opened. Open the menu.
Code to cut and paste into Codepen to do this is after the screen shot below.
What is the expected behavior?
The Radio buttons should be covered by the Menu
What is the actual behavior?
The "Radio" buttons show through the Menu.
screen shot 2017-03-23 at 20:37
HTML used
and Javascript
Any other information you believe would be useful?
This also affects MDC Select as it uses a Menu.
The Radio buttons are not significant in this, other controls also show through.
Needs a z-index in the css :-)
The text was updated successfully, but these errors were encountered: