Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

event.stopPropagation() doesn't work while Ladda button is loading #33

Open
mm-gmbd opened this issue Oct 10, 2014 · 0 comments
Open

event.stopPropagation() doesn't work while Ladda button is loading #33

mm-gmbd opened this issue Oct 10, 2014 · 0 comments

Comments

@mm-gmbd
Copy link

mm-gmbd commented Oct 10, 2014

I'm using a ladda button in a bootstrap panel header to refresh data in an enclosed table. Clicking on the panel header will open/collapse the panel, but I don't want that to happen if the user clicks the ladda button.

http://jsfiddle.net/mmuelle4/x6c506s6/

Catching the click event and stopping the propagation of the event works if the button is in its normal state, but if the ladda button is loading, the click event is no longer captured.

I understand the reason for the functionality -- the button click event handler isn't called because the button is loading. But - is there an event that can be registered for ALL button clicks (including while loading)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant