Topic: [double navigation] sidenav opens when opening the Devtools (console window, etc.)
alain.deurveilher@gmail.com pro asked 6 years ago
Damian Gemza staff answered 6 years ago
it.going-public pro answered 6 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...
alain.deurveilher@gmail.com pro answered 6 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
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 Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 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 6 years ago
Please check my other response with link to a demo app and an gif showing the problem. Thank you.