Slim side-nav not working in 4.19.2


Topic: Slim side-nav not working in 4.19.2

Martin Kempster pro premium asked 4 months ago

Expected behavior

'Minimize Menu' button should change the side nav from slim to expanded when clicked.

Actual behavior

Using older versions of MDB this works but in newer versions it will not work with any of the recommended JS/CSS set. I can manually have it start as slim or expanded but the button to toggle will never work


Krzysztof Wilk staff commented 4 months ago

Hi!

Could you make a snippet with your problem? In my code, everything works, so I can't recognize the problem.

Best regards


Martin Kempster pro premium commented 4 months ago

This was an issue on my end. I overlooked inclusing css/jquery.css as i was just working off the included index.html file that didn't have it in the top. I've added it in and it works as expected now


Krzysztof Wilk staff commented 4 months ago

Hi!

I'm glad you figured it out! If you have more questions - feel free to ask :)

Best regards


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.19.2
  • Device: Desktop
  • Browser: Firefox/Chrome
  • OS: RedHat 8.2/Windows 8
  • Provided sample code: No
  • Provided link: No