SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 94 JavaScript

fix(ngTouch): don't prevent click event after a touchmove

Remove the touchmove handler so that resetState is not called on touchmove.
The touchend event handler already prevents the click from being triggered
if the distance moved exceeds the MOVE_TOLERANCE, so detection of touchmove
is not needed. Previously, because of resetState on touchmove, the click would
not be triggered even if the event coordinates changed by only 1px or 2px,
which seems to be very common for taps on mobile browsers.

Closes #10985
M
Mike Calvanese committed
95521876eb9eb330548b0549f0cfe22a26d88f6e
Parent: 4eb16ae
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 4/27/2015, 1:28:09 PM