react-navigation/react-navigation#11373
This repo demonstrates an issue with the library @react-navigation/drawer
where the navigation.goBack
goes to the first screen registered instead of the previous screen seen.
- run
npm install
- run
npm run android
- go from screen 1 to screen 2
- go to screen 3
- press go back
The user should be on screen 2.
The user is on screen 1.
The same case is reproducible by using the simulator's go back button.