react-navigation / react-navigation/react-navigation.github.io
GoBack in nested stack screen with different tabs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 324
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, example, or test is named. Start by reproducing the nested-tab navigation sequence described with navigation.navigate and goBack, then trace the relevant nested stack behavior. Done means returning from TAB_PROFILE/SETTING_SCREEN reaches the preceding Tab Home/TODO-SCREEN state as specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100