touche
touche copied to clipboard
Use touchmove to more accurately simulate clicking
Take a look at http://stackoverflow.com/a/25727560/3791179
The way the click
event works is that if you start and end your click in the same place, the click
event will fire. If you move between clicking down and releasing, it doesn't fire.
A touch even that emulates click
should work the same way. If the user touchstart
s and then touchmove
s, the click
event shouldn't be triggered. It should only be triggered if there's no movement between touchstart
and touchend
.