-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
sideNav with fixed desktop nav doesn't work correctly #4318
Comments
I have the same problem, while using a fixed navbar. My solution is move this |
This was referenced Apr 1, 2017
This was referenced Apr 1, 2017
Repository owner
locked and limited conversation to collaborators
Sep 2, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I'd like to make a fixed Navbar for desktop view, as well as navbar for mobile view. This is what I did
https://fiddle.jshell.net/evanhdc/v1d7fk9h/
Repro Steps
In the above fiddler, resize browser window so the mobile navbar shows up.
Click menu on top left so the sideNav pops up.
Problem is that in mobile view, when I clicked the menu button, sideNav shows up with a sidenav-overlay that covers the entire page including the sideNav so I can't click any option.
The fiddler works fine with materializecss ver 0.97.7 but the issue starts from v0.97.8, and is still happening in v0.98.0.
In order to make sidenav-overlay to cover only the correct portion of the page, I have to remove the outer div with class "navbar-fixed" but this way, the desktop navbar is not fixed anymore.
Screenshots / Codepen
Add supplemental screenshots or code examples. Look for a codepen template in our Contributing Guidelines.
The text was updated successfully, but these errors were encountered: