rn: refactor BottomSheet

Avoid using a Modal since those create trouble with the view hierarchy.
This commit is contained in:
Saúl Ibarra Corretgé
2019-04-24 13:05:14 +02:00
committed by Zoltan Bettenbuk
parent 89719520e2
commit 70dc22c107
3 changed files with 29 additions and 62 deletions

View File

@@ -162,6 +162,7 @@ export default class SlidingView extends PureComponent<Props, State> {
<View style = { styles.sliderViewShadow } />
</TouchableWithoutFeedback>
<Animated.View
pointerEvents = 'box-none'
style = { this._getContentStyle() }>
{ this.props.children }
</Animated.View>