From dcfb3f3839b818476c1ef90ef6507b86970126d7 Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Fri, 30 Aug 2019 12:30:02 +0300 Subject: [PATCH] Avoid stealing touches from other native modals. With `react-native-navigation`, an overlay with `interceptTouchesOutside=false` is not allowed to pass through the touches because of the wrapper view introduces by `react-native-root-siblings`. As I've seen in the issues section in `react-native-navigation`, many people ditch libraries like `react-native-popup-dialog` and `react-native-root-toast` due to this issue. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d8928bf..cfbb332 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ if (!global.__rootSiblingsInjected) { AppRegistry.setWrapperComponentProvider(function() { return function RootSiblingsWrapper(props) { return ( - + {props.children}