react-native-boilerplate icon indicating copy to clipboard operation
react-native-boilerplate copied to clipboard

Clicking the hamburger icon does not open the side drawer

Open Cornstar23 opened this issue 7 years ago • 3 comments

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.

Cornstar23 avatar Nov 07 '17 20:11 Cornstar23

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.

bkdev98 avatar Nov 07 '17 23:11 bkdev98

Can you share your plans to the rebuild? More than happy to help you on something

FranciscoMSM avatar Nov 13 '17 12:11 FranciscoMSM

Just change the Navigator to StackNavigator will solve your problem.

const Navigator = StackNavigator({
  Welcome: { screen: WelcomeScreen },
  Main: { screen: AppDrawer },
}, {
    navigationOptions:{
        header:null
 });

AGurindapalli avatar Jan 11 '18 07:01 AGurindapalli