DescriptionFix issue with longpress drag selection motion
If the user has already dragged outside the initial selected word region
by the time the browser gets a selection update, or if the selected word
isn't coincident with the longpress location, the subsequently dragged
selection endpoint can be wrong. For such cases, rather than
using the drag direction for drag anchor picking, just use the distance
between the current touch point and the selection endpoints.
BUG=466749
Review URL: https://codereview.chromium.org/1271823002
Cr-Commit-Position: refs/heads/master@{#341791}
(cherry picked from commit a188bd6dff9c2a0425d1f31e3ab929c373762d83)
Committed: https://chromium.googlesource.com/chromium/src/+/5e1e7b4ddecf1f57f16bdbe936e7bd0eaddf9b0b
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|