-
-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: touch event absolute position (#3078)
## Description The PR fixes the issue mentioned [here](#3073) about the incorrect absolute positions on touch events. The view transformations should not affect the absolute position of the touch, so the source event should also be passed to gesture handlers and used for calculations. It applies to `ACTION_DOWN`, `ACTION_MOVE`, and `ACTION_UP` motion events. <!-- Description and motivation for this PR. Include 'Fixes #<number>' if this is fixing some issue. --> ## Test plan I've checked on android device for repro provided in the above-mentioned issue with some scroll offset. <!-- Describe how did you test this change here. -->
- Loading branch information
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters