Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bottom-tab-navigator gets hidden when I navigate to another screen using drawer #10

Open
ravi123saxena opened this issue Oct 13, 2021 · 1 comment

Comments

@ravi123saxena
Copy link

ravi123saxena commented Oct 13, 2021

We have four tabs in bottom and 3 items in drawer menu. When first tab screen opened and when go to drawer menu and navigate any item then my tabbbar menu will get removed and I can't get this back further because currently selected screen is from drawer menu.

App.js:

render() {
return (

{this.state.loginState ? (
<Drawer.Navigator
drawerContent={props => <DrawerMenu {...props} />}>
<Drawer.Screen name="tabbar" component={BottomBar} />
<Drawer.Screen
name="home"
options
component={Home}
/>
<Drawer.Screen
name="profile"
component={Profile}
/>
<Drawer.Screen
name="about"
component={About}
/>
<Drawer.Screen
name="settings"
component={Settings}
/>
<Drawer.Screen
name="dashboard"
component={Dashboard}
/>
</Drawer.Navigator>
) : (

)}

);
}
}

@dev-yakuza
Copy link
Owner

Hi, @ravi123saxena
Could you give me more feedback? if you give me more, it will be very helpful.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants