-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
MenuItemLink is not clipped under AppBar when scrolling on large screen media #4304
Comments
Could you please attacha a screenshot of the problem? |
There is something weird: I cannot reproduce it locally. there must be something special about your Layout customization. |
OK, this bug is due to a regression in 'material-ui/core' between 4.3.3 and 4.8.0 |
The regression was introduced by mui/material-ui#18866: we were able to replace Drawer CSS in the past, not we can only merge into them. |
fzaninotto
added a commit
that referenced
this issue
Jan 17, 2020
JulienMattiussi
pushed a commit
that referenced
this issue
Jan 28, 2020
JulienMattiussi
pushed a commit
that referenced
this issue
Jan 31, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you were expecting:
I expect MenuItem of SideBar is always below AppBar on large screen media
What happened instead:
MenuItem of SideBar is above AppBar on large screen media
Steps to reproduce:
Here is the codesandbox environment https://codesandbox.io/s/patient-night-gfe2k
Set the view to about 1000 x 700 resolution, then try to scroll a little bit on the view, before the AppBar hides itself. You will see the buttons' z-index of the SideBar menu is above the AppBar, and covers the toggle button.
Related code:
MaterialUI defines AppBar's z-index to be 1100 and Drawer's z-index to be 1200. Maybe that is the reason Drawer's items' z-index is above AppBar's z-index, as they get inherited.
Other information:
Environment
The text was updated successfully, but these errors were encountered: