Please sign in to comment.
Fix panResponder nativeEvent.locationX and locationY values on touch …
…move 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 #15123 Reviewed By: achen1 Differential Revision: D5476663 Pulled By: shergin fbshipit-source-id: ce79e96490f3657a13f9114fcc93e80d5fdbebaf
- Loading branch information...
Showing with 9 additions and 7 deletions.