Topic: Sidenav hamburger menu doesnt work

karolla86 free asked 5 years ago


After last update, sidenav hamburger menu doesnt work.


Bartłomiej Malanowski staff commented 5 years ago

do you see any logs in the console?


wealthtechs priority commented 5 years ago

ERROR IN CONSOLE TypeError: $(...).sideNav is not a function

I solved the problem calling $(...).sideNav(); inside a $(document).ready(function (){...}); the problem is (and I don't know why) for some reason the function $.fn.sideNav is not present after load the script but it is present when the document is completely loaded


karolla86 free commented 5 years ago

You have same problem?


Bartłomiej Malanowski staff commented 5 years ago

I can't recreate your issue. Could you please create a snippet?


karolla86 free commented 5 years ago

https://mdbootstrap.com/snippets/jquery/mdbootstrap/98613 https://mdbootstrap.com/docs/jquery/navigation/sidenav/

Hamburgers doesnt work.


wealthtechs priority commented 5 years ago

Yes, I have the same problem, the sidenav doesn't appear after clicking on the hamburger button. Also, this button doesn't work in the documentation like karolla86 indicate


Custer priority commented 4 years ago

I have the same problem, but only in Microsoft Edge. In Chrome it works fine.

Is there any solution?


Bartłomiej Malanowski staff commented 4 years ago

@Custer, any console errors?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.10.0
  • Device: all
  • Browser: all
  • OS: windows
  • Provided sample code: No
  • Provided link: No