Topic: Slim side-nav not working in 4.19.2
Martin Kempster free asked 3 years 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
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 jQuery
- MDB Version: 4.19.2
- Device: Desktop
- Browser: Firefox/Chrome
- OS: RedHat 8.2/Windows 8
- Provided sample code: No
- Provided link: No
Krzysztof Wilk staff commented 3 years 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 free commented 3 years 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 3 years ago
Hi!
I'm glad you figured it out! If you have more questions - feel free to ask :)
Best regards