-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Double nav bar when using drawer #2833
Comments
@aksonov Can you help? |
your explanation for the problem is A bit confusing but i assume that the problem is when you call 'Action.home()' you need to empty your scene stack. look at the action API Action.https://github.com/aksonov/react-native-router-flux/blob/master/docs/API.md#actions if this is not the problem so try to rap Try to wrap differently the scenes and the drawer:" |
@UrielShimony |
So now i have understood the issue more clearly. So I am keeping hideNavbar = true for the initial scene and hideNavBar=false for all the other scenes. Anybody faced this as well? |
Issue got resolved by putting headerMode={'screen'} |
Did you add this on the drawer or in the scene nested inside the drawer? |
Version
Expected behaviour
Single navigation bar for any scene.
Actual behaviour
Double navigation bar for Home scene.
Steps to reproduce
Because of this there is always bump in height of the Home scene whenever a new scene is opened or coming back from an opened scene.
Any ideas how can i avoid this?
I already read the suggestions on other similar issues and kept hideNavBar={true} for the root scene as suggested in those threads.
The text was updated successfully, but these errors were encountered: