my screens are arranged this way:
main root Stack navigator has 2 screens
- Login
- Drawer
The drawer is a Drawer Navigator, having three screens
- Home
- Profile
- Settings
Home is a Bottom Tab Navigator having multiple Screens like
- Dashboard
- Reminder etc ...
So the issue is whenever I am in any sub-screen of let's say reminder and I want to close it by navigation.goBack() it takes me to Dashboard, what I want is to land back on reminder
PS. the sub screen is also in the tab navigator I have hidden it with filter
You can use a StackNavigator for each tab of the BottomTabNavigator, which contains the screens for that tab. Every tab will then have its own navigation stack.