react-native-boilerplate
react-native-boilerplate copied to clipboard
Clicking the hamburger icon does not open the side drawer
When clicking the hamburger icon on the home screen, a dark transparent overlay covers the whole app. The only way to get out is to press the back button. Sliding from the left edge reveals the side drawer as expected.
Using expo link https://expo.io/@bkdev/react-native-boilerplate on a Samsung Galaxy S8.
Thank you for opening this issue. I have been working on this problem since the beginning. This is a bug when using react-navigation. I will find out the solution this weekend. BTW, I have a plan rebuild the whole boilerplate because the current code is out of date and not so flexible. Any PRs are welcome.
Can you share your plans to the rebuild? More than happy to help you on something
Just change the Navigator to StackNavigator will solve your problem.
const Navigator = StackNavigator({
Welcome: { screen: WelcomeScreen },
Main: { screen: AppDrawer },
}, {
navigationOptions:{
header:null
});