i want to psuh new screen on top off a model in react-navigation
Current Behavior
The react-native Modal
is the highest zIndex. All the screens pushed onto the StackNavigator
by react-navigation are below it.
Expected Behavior
The new screen should be pushed on top of the react-native Modal
How to reproduce
render a react-native Modal
with some boilerplate code, and then on tap button in your custom modal, just run
this.props.navigation.navigate(SCREEN_NAME);
<Modal> </Modal>
imported from React Native. And it is displayed with boolean from state. Check this : facebook.github.io/react-native/docs/modal.html – darkermuffin