From 99cc5b0286e929357e090bef3fba0eb116266484 Mon Sep 17 00:00:00 2001 From: osdnk Date: Fri, 14 Aug 2020 15:45:11 +0200 Subject: [PATCH] revert: get rid of GestureHandlerRootView --- src/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 0c8edb5..fea09b1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,7 +4,6 @@ import Animated from 'react-native-reanimated' import { PanGestureHandler, TapGestureHandler, - GestureHandlerRootView, State as GestureState, } from 'react-native-gesture-handler' @@ -293,8 +292,6 @@ function withDecaying( ]) } -const GestureHandlerWrapper = GestureHandlerRootView || View - export default class BottomSheetBehavior extends React.Component { static defaultProps = { overdragResistanceFactor: 0, @@ -797,7 +794,7 @@ export default class BottomSheetBehavior extends React.Component { render() { const { borderRadius } = this.props return ( - + <> { )} - + ) } }