Topic: Double navigation - clicking the left hamburger icon several times darkens the main content
sburina pro asked 5 years ago
Expected behavior
Second click on left hamburger button should hide the sidenav and return the mail content color to the original.
Actual behavior
Sidenav under fixed navbar: Left hamburger icon opens a sidenav, but stays visible and allows multiple clicks, which doesn't toggle the sidenav as it should, but instead shows it again and again, each time dimming the main contents more and more, until it's completely black.
Resources (screenshots, code snippets etc.)
Marta Wierzbicka staff answered 5 years ago
Hi,
thank you for noticing this, we will fix this as soon as possible.
Best, Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.4
- Device: Laptop 17\"
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No
sburina pro commented 5 years ago
The same happens in your own example snippet: https://mdbootstrap.com/snippets/jquery/mdbootstrap/557300?view=standard