Topic: Stop Floating Action Button Closing

stefangregg priority asked 8 months ago


Howdy, Looking for some help with fixed action buttons:

For fixed floating buttons, when you click outside the list of buttons, it closes them. I am looking to override this so they stay open regardless of whats clicked around them.

Im hoping for something similar to a static backdrop in a modal.

Thanks


Michał Duszak staff answered 8 months ago


Hello. We don't provide such an option. You have to edit the source code by yourself. button.js has event listeners which are responsible for hiding the list on mouseleave (L44).

But you mean an outside click, not mouseleave. Could you please reproduce the actual behaviour in snippets so that I can be sure we reference the same component?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No