-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
🐛 Bug Report
When switching between bottom tabs it does not go back to previously selected tab when i press hardware back button, please check popular apps like
- youtube
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
(Write your steps here:)
- Setup a demo app with 2 bottoms
- Tap on 1st tab first and then switch to 2nd tab
- Try pressing hardware back button
Expected behavior
It should take you back to previously selected tab
Actual Behavior
It closes the app when you press the hardware back button
Your Environment
- React Native Navigation version: 7.23.1
- React Native version: 0.66.0
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Pixel2 api version 30 debug
Are you willing to resolve this issue by submitting a Pull Request?
- ✖️ Yes, I have the time, and I know how to start.
- ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
- ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.