Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate entered/exited views during handling of all MotionEvents (f…
…acebook#36666) Summary: Pull Request resolved: facebook#36666 Modify JSPointerDispatcher to dispatch out/over/leave/enter events on handing of any MotionEvent. This functionality is in parity with [how touch events are handled in iOS](https://www.internalfb.com/code/fbsource/[cdfd2520a4d43b3a46104ecbf437bb792460e3f7]/xplat/js/react-native-github/packages/react-native/React/Fabric/RCTSurfacePointerHandler.mm?lines=780). handleMotionEvent updates the last hit path upon any MotionEvent, so we want to make sure that we handle any out/over/leave/enter dispatches in this method. This diff just extracts the dispatching of out/over/leave/enter from onMove() to handleMotionEvent(). Changelog: [Internal] - Calculate entered/exited views on all touch/move events Differential Revision: D44426524 fbshipit-source-id: fb2e7f1c6d1276cff7d09b9450969ad0e667526e
- Loading branch information