Topic: API Dropdown show doesn't work

Marco Li Mandri priority asked 2 years 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


Mateusz Lazaru staff commented 2 years ago

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


Marco Li Mandri priority commented 2 years ago

Now I have published it


Mateusz Lazaru staff answered 2 years 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

  • ForumUser: 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