Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Event bubbling on data-role="slider" and jQuery 1.6.2 #2188

Closed
phillpafford opened this Issue Aug 2, 2011 · 3 comments

Comments

Projects
None yet
3 participants

Live Example of Event Bubbling: (If you keep flipping the switch you can see multiple events with the console output)

Live Example of (kinda) Fix: (Looks like the position of where you click the switch is a factor as well, if you click in the middle of the button it seems to work, towards the ends the events starts to bubble again)

Using event.stopPropagation() fixes the issue

Question that sparked the issue:

NPC commented Aug 4, 2011

A correction - event.stopPropagation() does not fix the issue, at least not in the example at http://jsfiddle.net/phillpafford/KCQ4Z/70/

@ghost ghost assigned johnbender Aug 7, 2011

NPC commented Oct 6, 2011

Looks like this is fixed in 1.0rc1, at least in my tests it doesn't show anymore.

Contributor

johnbender commented Oct 6, 2011

@phillpafford

Please re-open if this is still an issue. Thanks for the update @NPC!

@johnbender johnbender closed this Oct 6, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment