touche icon indicating copy to clipboard operation
touche copied to clipboard

Tap recognized, no matter where you lift your finger

Open alinnert opened this issue 11 years ago • 6 comments

It doesn't matter where you lift your finger in order to active the event. You should at least check if the target of touchstart and touchend are the same.

alinnert avatar Oct 24 '13 11:10 alinnert

Very good point :+1:

benhowdle89 avatar Oct 24 '13 12:10 benhowdle89

:+1:

optikfluffel avatar Oct 25 '13 08:10 optikfluffel

:+1:

mcneela86 avatar Feb 24 '14 05:02 mcneela86

Was this ever implemented?

jonsherrard avatar Mar 01 '14 12:03 jonsherrard

I used fastclick instead. hope it helps someone.

mcneela86 avatar Mar 02 '14 02:03 mcneela86

@alinnert touchstart and touchend always have the same target even if the finger has moved. What needs to be done is to use touchmove track to track x and y delta and decide on touchend if the finger has moved too much to fire a click. See http://github.com/jonathanstark/FastActive for an example.

jonathanstark avatar Mar 16 '14 22:03 jonathanstark