Chromium Code Reviews
DescriptionWork around PanGestureRecognizer iOS10 issue.
In iOS10, sometimes a PanGestureRecognizer will fire a touchesMoved even
after touchesBegan sets its state to |UIGestureRecognizerStateFailed|.
Somehow the state is re-set to UIGestureRecognizerStatePossible, and ends
up in moved. Checking if |_startPoint| has been set is a secondary way to
catch for failed gestures. It appears setting failed in touchesMoved still always
works -- this issue only seems to be related to setting Failure in touchesBegan,
and only sometimes.
BUG=640611
Committed: https://crrev.com/95144337ab1af223377554b7ca838de787d8080e
Cr-Commit-Position: refs/heads/master@{#415004}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||