Topic: Closing Sidenav when click on link

Nicholas Papetti priority asked 3 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 3 years ago


Hi

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

https://mdbootstrap.com/snippets/jquery/tomasz-makowski/2192520#

Regards


Nicholas Papetti priority answered 3 years ago


there is no solution?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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