-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate entered/exited views during handling of all MotionEvents #36666
Conversation
This pull request was exported from Phabricator. Differential Revision: D44426524 |
|
Base commit: d0fcd43 |
This pull request was exported from Phabricator. Differential Revision: D44426524 |
…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
f59d373
to
b16808f
Compare
This pull request was exported from Phabricator. Differential Revision: D44426524 |
…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: 2251392ea4a090199c5eb75a4fc0767aee971055
b16808f
to
22ebaea
Compare
This pull request was exported from Phabricator. Differential Revision: D44426524 |
…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 Reviewed By: javache Differential Revision: D44426524 fbshipit-source-id: 67b7f972fca85350f7b14466458e670c335b2f1c
22ebaea
to
cdc1fa3
Compare
…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 Reviewed By: javache, mdvacca Differential Revision: D44426524 fbshipit-source-id: f8765ae90f13cd5ebf98680ae6af54e789274ce2
This pull request was exported from Phabricator. Differential Revision: D44426524 |
cdc1fa3
to
f546482
Compare
This pull request has been merged in 47149d2. |
…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 Reviewed By: javache, mdvacca Differential Revision: D44426524 fbshipit-source-id: 5225c54c2c995440ac766c6fbc99c08f05c70a92
…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 Reviewed By: javache, mdvacca Differential Revision: D44426524 fbshipit-source-id: 5225c54c2c995440ac766c6fbc99c08f05c70a92
Summary:
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.
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().
Differential Revision: D44426524