Replies: 1 comment
-
This is the best that I have so far.
Image 1 Image 2 Image 3 |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use routing in the navigation bar.
Image 1
Now let's select
Store
see image 2 below.Image 2
So far so good.
Now press the back button, result is in image 3
Image 3
How to make the selection be in the Home navbar item after pressing the back button?
What I am trying to achieve is to have the navbar items be the root page. And from each root page, will create new routes.
Example
Navbar items:
Where:
ABC
andDEF
could be the sub-navbar for theStore
parent navbar item.I can do this but the issue is the back button in the route page.
When you are in
Store/DEF/111
and you press the back button, you will end up in Home. It should be inStore/DEF
. However I can make a dedicated back button to navigate to specific page.But the user can access the back button in the appbar. One way to solve the back button in the appbar is to remove the appbar. I don't want that. I need the appbar for other items.
The layout and functionality that I want to achieve is something similar to the lichess app beta. Its back button is working well.
References
navigation-and-routing
navigation-bar
Beta Was this translation helpful? Give feedback.
All reactions