This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Panel: not possible to bind to button toggling a panel #7301
Comments
Not sure this is a good practice fix, but removing the
|
We need to figure out why we're not letting it bubble in the first place. |
OK. It looks like we're returning false in order to prevent the click routing from doing navigation. preventing default should suffice in this case. |
... because we've updated the click routing to not handle clicks for which the default has been prevented. |
@gabrielschulhof : +1 |
gabrielschulhof
pushed a commit
that referenced
this issue
Apr 8, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to bind to a button toggling a panel only works like this:
The "normal" way,
does not trigger the alert.
JSBIN: here
Removing the JQM script tag will make both ways works as expected, so there must be something preventing the click to trigger courtesy of JQM.
The click is useful, for example to setting a pointer for content to display on
click
and loading the content onbeforeOpen
(works nicely with popups, so on panel, this is a bug to me)The text was updated successfully, but these errors were encountered: