mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dea6b0e24c
Summary: ReactRootView currently intercepts and swallows all `requestDisallowInterceptTouchEvent` calls, which made sense when the ReactNativeView was the root of all views. In the context of react native views embedded in other views though, we want to propagate the call to all parents views, but not set it on the ReactRootView itself (because we still need the `onInterceptTouchEvent` calls to dispatch the touch events to JS). Reviewed By: foghina Differential Revision: D3819255 fbshipit-source-id: 21f2dd173c76e98342193de384292fef2b407250