The PR fixes the issue mentioned here 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.
Test plan
I've checked on android device for repro provided in the above-mentioned issue with some scroll offset.
Description
The PR fixes the issue mentioned here 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
, andACTION_UP
motion events.Test plan
I've checked on android device for repro provided in the above-mentioned issue with some scroll offset.