mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5198d56f28
Summary: Changelog: [Internal] - Stop dispatching pointer events when a child view has indicated it wants to handle a native gesture. In discussion and alignment with web standards, we've decided to not dispatch any pointer events during a native gesture. Currently, on ACTION_HOVER_MOVE, we remove child views of the native gesture handling view and continue dispatching onPointerMove for ancestor views. This change removes this logic and won't dispatch a onPointerMove event at all. For all other MotionEvent actions, this is already the case. Also adding an example in RNTester that involves a scrollView (which handles gestures during scrolling) Reviewed By: javache Differential Revision: D39377157 fbshipit-source-id: cb0a719f67136e31b68d6f6e794fee10b256bf21