Topic: Navbar dropdown menus not closing
Frank Kreutzer free asked 5 years ago
I have a navbar with several dropdown menus, and some with submenus. When I click a different navbar dropdown link, I was the others to collaspe/close and only have one open at a time. But currently, all dropdowns can be open at once which is not wanted - only one open at a time.
It should function like bare bootstrap navbar dropdowns, as in how it closes when the user clicks away from the dropdown menu: https://getbootstrap.com/docs/4.0/examples/navbars/
Snippet Here: https://mdbootstrap.com/snippets/jquery/frank_kreutzer/991081?action=forum_snippet
Konrad Stępień staff answered 5 years ago
Hi @Frank Kreutzer,
Most likely it is a bug related to this release, please wait for the new update and then check if the problem still exists in the new version 4.8.8.
Best regards, Konrad.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.2
- Device: PC
- Browser: Google Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes