Topic: API Dropdown show doesn't work

Marco Li Mandri priority asked 1 month ago


Expected behavior show dropdown with api method "show" independently from autoClose config, or a way to temporary disable autoclose to permit to use "show" method without disable autoclose.

Actual behavior show method doesn't work if autoClose is true and if it's false the dropdown (obviously) remain open.

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/marco_li_mandri/4508412#js-tab-view


mlazaru staff commented 1 month ago

I haven't access to your snippet. It's probably because you didn't press 'publish' button.


Marco Li Mandri priority commented 1 month ago

Now I have published it


mlazaru staff answered 1 month ago


Adding setTimeout solves the problem. Treat it like a workaround. We will check why this bug occures and try to fix it.

https://mdbootstrap.com/snippets/standard/mlazaru/4517482#js-tab-view



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: All
  • OS: Win
  • Provided sample code: No
  • Provided link: Yes