Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

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
Assignees
Milestone

Comments

@gabrielschulhof
Copy link

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 pushed a commit that referenced this issue Jun 13, 2014
(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 pushed a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
(preventing vmouseup-s) if taphold is set to prevent a following tap event

This refines the modifications made in jquery-archivegh-5983.

Closes jquery-archivegh-6719
Fixes jquery-archivegh-7494
Re jquery-archivegh-5983
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant