Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Nested dropdowns in MDB5 v7

webservices priority asked 10 months ago


Expected behavior
Closing a nested dropdown will only close that one dropdown.

Actual behavior
In addition to the nested dropdown closing, the parent dropdown closes and then reopens immediately.

Resources (screenshots, code snippets etc.)
Take a look at my snippet using data-mdb-dropdown-init on the parent and nested dropdowns.

The only documentation I can find uses MDB5 v6 way of doing dropdowns. It is in the extended docs under Bootstrap nested (multilevel) Dropdowns. Is there a better way to do this with MDB5 v7? This functionality seems so close to working.

Thanks!


Grzegorz Bujański staff answered 10 months ago


At the moment, we only support the solution from our documentation - opening the submenu on hover. Here you will find a working example for v7 https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/5952806#


webservices priority commented 10 months ago

Thanks for the reply.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: Yes
  • Provided link: Yes