react-navigation.github.io icon indicating copy to clipboard operation
react-navigation.github.io copied to clipboard

GoBack in nested stack screen with different tabs

Open calz10 opened this issue 4 years ago • 0 comments

structure: Tab Home DASHBOARD-SCREEN TODO-SCREEN TAB PROFILE PROFILE_SCREEN SETTING_SCREEN

Screens on both tabs are on nested stacknavigator.

scenario: if im on the Tab Home/ TODO-SCREEN then navigated to TAB PROFILE/SETTING_SCREEN using navigation.navigate(ROUTES.TAB_PROFILE, { screen: 'SETTING_SCREEN', initial: false }) i get navigated to the settings screen correctly yet. when i click goback or use goback it goes to PROFILE_SCREEN which is the initial of the stack navigator not to TODO-SCREEN i need to press the Tab Home to back to TODO-SCREEN

calz10 avatar May 04 '21 10:05 calz10