Clear touchscreen gesture target at the end of a gesture
We currently leave the last touchscreen gesture target in |touchscreen_gesture_target_| and only overwrite it upon the next touchscreen gesture. This is a problem if the user switches from using a touchscreen to another input device, since the scroll bubbling logic will believe that there is an ongoing touchscreen gesture and drop any attempts to bubble scroll to this target. We now clear the target at the end of a touchscreen gesture (more specifically, after dispatching a gesture event which indicates the lift of the last finger). Bug: 865151 Change-Id: I8fddc1ac9c36ebf9b84a59b1304784188c46f142 Reviewed-on: https://chromium-review.googlesource.com/c/1351744Reviewed-by:Ken Buchanan <kenrb@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#613124}
Showing
Please register or sign in to comment