N
N
nonamich2017-10-05 12:14:02
css
nonamich, 2017-10-05 12:14:02

Fix for touches event javascript?

Why is there an 8px - 11px firing gap between touchstart and touchmove events?
And is there any way around this?
Example
Try

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Koch, 2017-10-05
@amux

Because otherwise, with a simple click, the touchmove event fired (After all, the finger is not applied evenly to the point that needs to be pressed), but with a simple click, we do not need this event. For this purpose, a dead zone of 5-10px is made in which pressing is caught, and outside the movement of the finger is already.

S
Sergey Melnikov, 2017-10-05
@mlnkv

touchpunch.furf.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question