Topic: Dropdown disappears on first click

fredemagi pro asked 4 years ago

Expected behavior

When a user clicks the dropdown, the dropmenu should appear and stay opened.

Actual behavior

When a user clicks the dropdown, the menu appears fast and closes again. First when clicking it again, it stays open.

Resources (screenshots, code snippets etc.)

Code: enter image description here

Tomek Makowski staff answered 4 years ago


I tested your script and everything is OK. Get sure you have the latest version of MDB.

Regards. Tomek

Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Computer
  • Browser: Chrome
  • OS: Windows 10 64bit
  • Provided sample code: No
  • Provided link: No