hardware back button support for bottoms #7365
aliraza-noon
started this conversation in
Enhancements & New Ideas
Replies: 3 comments 7 replies
-
I have handled that on my app. Im prefer the behavior "always to the first (default) tab" when press on hardware back button.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This should be converted to a discussion (on the side menu "convert to discussion" as an idea, and maybe you can suggest adding a new option for hardware back like: const options = {
hardwareBackButton:{
dismissModalOnPress: true, //exists
popStackOnPress: true, // exists
bottomTabsBehaviour: 'exit' | 'previous' | 'first', // new
}
} |
Beta Was this translation helpful? Give feedback.
7 replies
-
@swabbass I don't see the "convert to discussion" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🐛 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
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
(Write your steps here:)
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
Are you willing to resolve this issue by submitting a Pull Request?
Beta Was this translation helpful? Give feedback.
All reactions