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

taphold triggered when stop the propagation of touchend #8583

Open
louisatome opened this issue Jul 11, 2017 · 0 comments
Open

taphold triggered when stop the propagation of touchend #8583

louisatome opened this issue Jul 11, 2017 · 0 comments

Comments

@louisatome
Copy link

Description

I have a touchend and a taphold listeners on my div. If I stop the propagation in the touchend listener, the taphold will be called even with a simple tap.

Test page

https://jsfiddle.net/xf0j6xy5/4/

Step to reproduce

  1. Open the JSFiddle page with a mobile (android/iOS)
  2. Tap on the orange block

Expected outcome

The block turns blue.

Actual outcome

The block turns blue and then red after a short time.

Platform/browsers

Tested on Safari, IPad Mini (iOS 9.3) and Chrome, Samsung Note 3 (android 5)

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