Topic: Click events not propagated for fixed buttons ?

BioK03 pro asked 5 years ago


Hello everyone !

I tried to trigger a modal when clicking on fixed buttons (  https://mdbootstrap.com/components/buttons/#fixed-buttons ).

But apparently, according to the code, click events are built to not been propagated :
mdb.js:16676 (version 4.5.8)

$('.fixed-action-btn').on('click', function (e) {
e.preventDefault();
toggleFABMenu($('.fixed-action-btn'));
return false;
});

The 'return false' stop the propagation of events, which is useful for triggering other code, like opening modals, and for me, this needs to be corrected.


Piotr Glejzer staff commented 5 years ago

So do you want to change to 'return true'?


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags