Santhosh Maila pro asked 8 years ago


Hello, I just got a pro version of the mdb. Its great and I am adding the sidenav feature to my application. After adding to my application, when I click on "Click Me", it does not collapse or un-collapse. By default, when the page is loaded, all the menu items are loaded on the side nav, unlike in the demo, they are hidden. Can you please help me fix this. Thank you, Santhosh ML

olivieeer free answered 8 years ago


olivieeer free answered 8 years ago


<a href="http://mdbootstrap.com/forums/reply/9228/"></a>`

olivieeer free answered 8 years ago


Michal Szymanski staff answered 8 years ago


Hi, SideNav in MDB4 requires initialization as well. You can do it by using the code: $(".button-collapse").sideNav(); If it doesn't solve your problem send me your files on m.szymanski@mdbootstrap.com and I'll take a look at it.

nauderuan free answered 8 years ago


Hi, did you find the problem? Im having the same problem after upgrade from MDB3 to MDB4 When I however add $(".collapsible").collapsible(); (that was required in MDB3) then it works again, but as far as I understand in MDB4 that should not be needed.

Michal Szymanski staff answered 8 years ago


Hi, send me the files of your project on ma email m.szymanski@mdbootstrap.com I'll check what's wrong.

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

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