New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchend (and vmouseup) are not propagated if $.event.special.tap.emitTapOnTaphold is set to false #7494

Closed
gabrielschulhof opened this Issue Jun 13, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@gabrielschulhof
Contributor

gabrielschulhof commented Jun 13, 2014

Copying from #6719:

Currently, touchend events (and possibly others) are stopped by code handling the "no tap on taphold" feature (#5983). This means that if one wants to detect touchend after a taphold then this is virtually impossible because the propagation is being stopped via event.stopPropagation(). The intent of this call (as described by commit #49bb033) is to prevent default action upon tap on an anchor element.

@gabrielschulhof gabrielschulhof added this to the 1.4.4 milestone Jun 13, 2014

@gabrielschulhof gabrielschulhof self-assigned this Jun 13, 2014

gabrielschulhof added a commit that referenced this issue Jun 13, 2014

Events: Fixes the problem that touchend events were stopped
(preventing vmouseup-s) if taphold is set to prevent a following tap event

This refines the modifications made in gh-5983.

(cherry picked from commit f95bec6)

Closes gh-6719
Fixes gh-7494
Re gh-5983

@gabrielschulhof gabrielschulhof modified the milestones: 1.4.3, 1.4.4 Jun 13, 2014

agcolom added a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014

Events: Fixes the problem that touchend events were stopped
(preventing vmouseup-s) if taphold is set to prevent a following tap event

This refines the modifications made in gh-5983.

Closes gh-6719
Fixes gh-7494
Re gh-5983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment