From 3d1bdcc2e3e60cd0ac166023023e82b47643cd12 Mon Sep 17 00:00:00 2001 From: Sean Kinsey Date: Fri, 6 Jan 2017 18:54:11 -0800 Subject: [PATCH] Don't capture touches Summary: RCTRootView supports a property `passThroughTouches` which when set, allows touches to propagate to sibling views. To allow touches to reach RCTRootView, we also need to set `pointerEvents` on the RCTViews wrapping the child views. Reviewed By: javache Differential Revision: D4385443 fbshipit-source-id: 6291d8614870168f1c4cdf0ef5ff6e42e4a8ef63 --- Libraries/ReactNative/AppContainer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/ReactNative/AppContainer.js b/Libraries/ReactNative/AppContainer.js index d7680bd85..ae247db91 100644 --- a/Libraries/ReactNative/AppContainer.js +++ b/Libraries/ReactNative/AppContainer.js @@ -89,8 +89,9 @@ class AppContainer extends React.Component { } return ( - + {this._mainRef = ref;}}>