Topic: Closing Sidenav when click on link

Nicholas Papetti priority asked 4 years ago

Expected behavior When clicking on a link of sidenav, sidenav auto-hide

Actual behavior When clicking on a link of sidenav, it stays where it is

Resources (screenshots, code snippets etc.)

Tomek Makowski staff answered 4 years ago


To make your side nav auto hide after clicking on link just add closeOnClick: true property to initialization of nav.


Nicholas Papetti priority answered 4 years ago

there is no solution?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.19.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No