touche
touche copied to clipboard
Tap recognized, no matter where you lift your finger
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.
Very good point :+1:
:+1:
:+1:
Was this ever implemented?
I used fastclick instead. hope it helps someone.
@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.