This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
Replies: 1 comment
-
Not yet but it's definitely on the list for the future (although we're not quite sure of the right way to do it yet: #222). |
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
-
Hi! I am creating multiple nested tabbed pages like this
What I want to do:
basically you can go in cycle like user info -> role info -> user info -> role info...
Now the problem. I want, when you press the back button, go back one page in the stack. Even if you change tab on that page, I don't want to go back to previous tab, but the whole page.
You're here:
main -> user info -> role info -> user info -> role info
Back:
main -> user info -> role info -> user info
Back:
main -> user info -> role info
and so on.
This doesn't work since when you use
push
to navigate to a new page and thengo
to navigate between tabs on that page, it clears the stack - because that's whatgo
does.And when I tried to use
push
for navigating between tabs too, I got an exception (is this bug or expected behavior?):but I guess even if it worked, it would add each tab change to the stack, right? And the back button would just switch to the previous selected tab?
So, is there any way to achieve this? If not, I've got an idea for a feature request how this might be done.
Beta Was this translation helpful? Give feedback.
All reactions