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

taphold triggered when stop the propagation of touchend #8583

Open
@louisatome

Description

@louisatome

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions