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
Review-Url: https://codereview.chromium.org/2281303002
Cr-Commit-Position: refs/heads/master@{#415004}
(cherry picked from commit 95144337ab1af223377554b7ca838de787d8080e)
Committed: https://chromium.googlesource.com/chromium/src/+/50a444da0b655b362a1ae9d99345e6c78ae8a1d7
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||