onBackdropPress not work for me.
<Overlay
isVisible={this.state.isVisible}
onBackdropPress={() => this.setState({isVisible: false})}
>
<Text>Hello from Overlay!</Text>
</Overlay>
"dependencies": {
"prop-types": "^15.6.1",
"react": "16.3.1",
"react-native": "0.55.4",
"react-native-elements": "^1.0.0-beta5",
"react-native-vector-icons": "^4.6.0",
"react-navigation": "^2.0.1"
},
##I Found problem!!!
this:
it not work.
<View style={styles.container}>
<Overlay
onBackdropPress={() => this.setState({isVisible: false})}
...
/>
<SomeViews .../>
<SomeViews .../>
...
</View>
but it work fine:
<View style={styles.container}>
<SomeViews .../>
<SomeViews .../>
...
<Overlay
onBackdropPress={() => this.setState({isVisible: false})}
...
/>
</View>
Overlay must in end of view ?! i think it's a bug!
if Overlay in above of views....
see problem:

@iRoachie @KevM @cpunion @caphun @cranberyxl @xdamman
Most helpful comment
##I Found problem!!!
this:
it not work.
but it work fine:
Overlay must in end of view ?! i think it's a bug!
if Overlay in above of views....

see problem:
@iRoachie @KevM @cpunion @caphun @cranberyxl @xdamman