Navbar links should reset state

Hey all!

I’m struggling with a undesired behavior!
My app has some sections in which you can filter records and see the detail of a entity - a project - for example.
Se issue is that, when I use a menu link “home”, for instance, then a use the “projects” menu link, Glide shows the page state that I had before click on the “home” link. So, it seems that it is storing the state and restoring it, instead of bring me to the root of the “projects”, that would be the expected behavior.

Do someone have a hint how to solve it, please?

Thank you so much! :slight_smile:

I don’t think there’s a way to do it as of now. I think a good way for Glide to do it is offer builders to be able to choose the desired behaviour for “tab clicks”: go all the way to the first level, or go back to where you were.

If you tap the tab name a second time, you’ll be taken back to the top level view.
This is pretty standard behaviour, I think? :man_shrugging:

1 Like