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
Back button currently closes the app if it's used from the settings screen as it is part of the tab navigator. This is however a rather unexpected behaviour.
Tried fixing it by #2710 which set the backBehavior to initalRoute (which is default for React Navigation's tab navigator), but it caused an issue where the tab navigator would take precedence over the stack navigator when the back button is pressed. This meant that inside a stack navigator if the back button is pressed, it would take the tab navigator to HomeTab instead of going back in the stack.
A better solution would be to move the settings screen to a different place that is not part of the main tab navigator. This also complies with material design guidelines which recommends back button not being used for navigation for a bottom tab navigator.
The text was updated successfully, but these errors were encountered:
Back button currently closes the app if it's used from the settings screen as it is part of the tab navigator. This is however a rather unexpected behaviour.
Tried fixing it by #2710 which set the
backBehavior
toinitalRoute
(which is default for React Navigation's tab navigator), but it caused an issue where the tab navigator would take precedence over the stack navigator when the back button is pressed. This meant that inside a stack navigator if the back button is pressed, it would take the tab navigator toHomeTab
instead of going back in the stack.A better solution would be to move the settings screen to a different place that is not part of the main tab navigator. This also complies with material design guidelines which recommends back button not being used for navigation for a bottom tab navigator.
The text was updated successfully, but these errors were encountered: