Topic: Mega menu works but tab panels remain unchanged

samCodes free asked 3 weeks ago


The dropdown opens correctly, but selecting another pill keeps the original content visible. Removing the modal section restores switching.

Where should the MDB bundle load?


Igor Przybysz staff answered 2 weeks ago


A working dropdown does not confirm that the tab component initialized successfully. If you use the UMD bundle, move its single script tag below all menu, panel, and modal markup. If you use selective ES imports instead, ensure that the Tab component is included in your initialization, rather than initializing only the dropdown or modal.

Please also check each pill's target against the corresponding panel ID. Share the component imports or script tags and the smallest markup that still breaks when the modal is added. That will show whether this is missing tab setup, duplicate markup, or a separate JavaScript exception.

https://mdbootstrap.com/docs/standard/navigation/pills/



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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 9.3.0
  • Device: Desktop
  • Browser: Chrome
  • OS: macOS
  • Provided sample code: No
  • Provided link: No