Topic: [double navigation] sidenav opens when opening the Devtools (console window, etc.)
alain.deurveilher@gmail.com pro asked 7 years ago
alain.deurveilher@gmail.com pro answered 7 years ago
- animated gif of the problem: https://drive.google.com/file/d/1EoEnp7mbXtKMiSP37B40fCuzJmk6M_ab/view?usp=sharing
- zip file of that demo: https://drive.google.com/file/d/11vcc51puFppJvAaS2IQvRm81_PsK207d/view?usp=sharing
it.going-public pro answered 7 years ago
i had a similar problem.
i think there is a small bug in the angular mdb template for fixed double navigation in responsive mode.
my solution was to add the showOverlay function to the slide-out button click:
<!-- SideNav slide-out button --> <div class="float-left"> <a (click)="sidenav.show(); sidenav.showOverlay();" class="button-collapse"><i class="fa fa-bars"></i></a> </div> <!--/. SideNav slide-out button -->
the disadvantage of this solution is that you have to click again on the overlay after clicking a link in the navigation...
Damian Gemza staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear Alain, Could you please provide me some reproductions steps? I don't know that bug. Please give me more information about your case. Best Regards, Damianalain.deurveilher@gmail.com pro commented 7 years ago
Please check my other response with link to a demo app and an gif showing the problem. Thank you.