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

Projects

None yet

1 participant

@gabrielschulhof
Contributor

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 gabrielschulhof added a commit that closed this issue Jun 13, 2014
@BendingBender @gabrielschulhof BendingBender + gabrielschulhof 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
f95bec6
@gabrielschulhof gabrielschulhof added a commit that referenced this issue Jun 13, 2014
@BendingBender @gabrielschulhof BendingBender + gabrielschulhof 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
4b94fb0
@gabrielschulhof gabrielschulhof modified the milestone: 1.4.3, 1.4.4 Jun 13, 2014
@agcolom agcolom added a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
@BendingBender @agcolom BendingBender + agcolom 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
8f81e2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment