Nested dropdowns in MDB5 v7


Topic: Nested dropdowns in MDB5 v7

webservices pro premium 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 pro premium 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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: Yes