# Tab Navigation - Tab main instead of previous Tab state?

**URL:** <https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046>\
**Category:** Ask for Help\
**Created:** [June 11, 2024, 2:00pm UTC](https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046 "2024-06-11T14:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkbw](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mkbw/32/74637_2.png) [@mkbw](https://community.glideapps.com/u/mkbw)\
**Post date:** [June 11, 2024, 2:01pm UTC](https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046/1 "2024-06-11T14:01:00Z")

</div>

Is there a way to make a navigation tab always return to the main page for the tab instead of whatever the previous state on that tab was for that user? It’s cool that you _can_ navigate back to the previous state of that tab but that’s not always desired.

In my case I have a Map tab if a user clicks on a location and goes to details then navigates to another tab and wants to return to the map they must double click on the Map tab navigation item. This results in quite a number of redundant extra clicks. That’s not great UX.

Only thing I could find on this was this feature request from July 2022.

> [@Automatically return to main tab page on Glide Pages](https://community.glideapps.com/t/automatically-return-to-main-tab-page-on-glide-pages/45292):
>
> On Glide pages I have noticed that it will save where you are at on a particular tab. For example, if I’m in a details page, then press on a different tab, and then come back to my original tab it is still on the details page vs. the tab page. I would like to request that there is an option for the developer to choose whether we want the user to return to details page or just start at main tab page.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [June 11, 2024, 2:11pm UTC](https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046/2 "2024-06-11T14:11:21Z")

</div>

You can use the action: Navigation \> Go to Tab

 ![Screenshot 2024-06-11 at 21.08.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/5/75caf7cb232f923270cbf131ee64b441fc5782a4.png)

---

<div class="post-metadata">

**Author:** ![mkbw](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mkbw/32/74637_2.png) [@mkbw](https://community.glideapps.com/u/mkbw)\
**Post date:** [June 11, 2024, 3:18pm UTC](https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046/3 "2024-06-11T15:18:35Z")

</div>

The navigation elements lack configurable actions. The only parameters are “title”, “slug”, and boolean “hide from nav”

This works for buttons and other components that can have configurable actions.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 12, 2024, 12:29am UTC](https://community.glideapps.com/t/tab-navigation-tab-main-instead-of-previous-tab-state/74046/4 "2024-06-12T00:29:46Z")

</div>

The navigation tab bar itself won’t allow you to do that, but if you’re navigating through an action, having two “go to tab” actions stacked on top of each other would return you to the main tab.

I like the ability to keep the previous state, but understandable that it would be better if we can customize that behaviour.
