You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This affects what happens when pressing the back button. When there's an initial screen, the back button will take the user there.
800
800
801
-
## Nesting multiple navigators
801
+
## Avoiding multiple headers when nesting
802
802
803
-
It's sometimes useful to nest multiple navigators such as stack, drawer or tabs.
804
-
805
-
When nesting multiple stack, drawer or bottom tab navigator, headers from both child and parent navigators would be shown. However, usually it's more desirable to show the header in the child navigator and hide the header in the screen of the parent navigator.
803
+
When nesting multiple stack, drawer or bottom tab navigators, headers from both child and parent navigators would be shown. However, usually it's more desirable to show the header in the child navigator and hide the header in the screen of the parent navigator.
806
804
807
805
To achieve this, you can hide the header in the screen containing the navigator using the `headerShown: false` option.
0 commit comments