Topic: Autohide sidebar when a link is clicked

osoverflow pro asked 6 years ago


Hi! I'm using the sidebar, and when I click a link into it I want the sidebar to close.   Current behavior is to stay open until I click outside the sidebar  

Damian Gemza staff answered 6 years ago


Dear Osoverflow, If you want to hide sidenav after clicking on some links, you have to add (click)="sidenav.hide()" method to every links. Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags