Topic: How to keep the side nav from collapsing by default.

Mike Barlow free asked 4 years ago


I'm looking for docs on how to prevent the sidenav from collapsing (ideally I don't want the side nav to collapse at all), when the screen is set to below 1440 px.I've tried adjusting the "breakwidth" as specified in the docs, but that seems to have no effect (tried with both a string - "770" and a number - 770 as per a doc error, neither worked)

<mdb-side-nav
  :breakwidth=770
  ref='sideNav'
  fixed=true>

Mike Barlow free commented 4 years ago

NVM, found my error in a typo (I had "breakwidth" not "breakWidth"). Works fine now.



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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.3
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes