mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1a262a7c7d
Summary: Fixes #12591 The Android JSTouchDispatcher was using `mTargetCoordinates` when creating the TouchEvent for a move. However, these are final values which are set when the touch down is received. When the user's finger moves, it's important to be able to track the coordinates of the touch as it moves. Thus, we need to update the x,y coordinates by calling `TouchTargetHelper` on each move event. Closes https://github.com/facebook/react-native/pull/15123 Reviewed By: achen1 Differential Revision: D5476663 Pulled By: shergin fbshipit-source-id: ce79e96490f3657a13f9114fcc93e80d5fdbebaf