# Enhancement when switching tabs

**URL:** https://community.glideapps.com/t/enhancement-when-switching-tabs/23564
**Category:** Feature Requests
**Created:** [February 28, 2021, 9:09pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564 "2021-02-28T21:09:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Gary\_Biagioni](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_biagioni/32/4201_2.png) [@Gary\_Biagioni](https://community.glideapps.com/u/Gary_Biagioni)
#### Post date: [February 28, 2021, 9:09pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/1 "2021-02-28T21:09:13Z")

</div>

I would like to be able to run an action when someone leaves a tab or enters a tab. Basically it would allow me to do some cleanup when they just leave a when “half” done and prepare some data when they enter a tab. That really cool action language would be just fine for now.

The application I am doing right now could use it for managing a lock on some data.

Right now I rely on the user clicking a button - not the best but…

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [February 28, 2021, 9:20pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/2 "2021-02-28T21:20:39Z")

</div>

Completely agree. In the past, I’ve proposed for Tab Actions in addition to Tab Visibility. Would be neat to show a form the moment a tab is opened, for example.

---

<div class="post-metadata">

### Author: ![Gary\_Biagioni](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_biagioni/32/4201_2.png) [@Gary\_Biagioni](https://community.glideapps.com/u/Gary_Biagioni)
#### Post date: [February 28, 2021, 9:22pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/3 "2021-02-28T21:22:11Z")

</div>

Tab visibility is a good idea as well

---

<div class="post-metadata">

### Author: ![Gary\_Biagioni](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_biagioni/32/4201_2.png) [@Gary\_Biagioni](https://community.glideapps.com/u/Gary_Biagioni)
#### Post date: [February 28, 2021, 10:01pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/4 "2021-02-28T22:01:21Z")

</div>

One more thought is closing the app actions as well

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [March 1, 2021, 5:57am UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/5 "2021-03-01T05:57:15Z")

</div>

The way I generally handle this is to remove the back arrow using CSS, and then provide a back button with a custom action attached. This can’t be used in all circumstances (eg. with top level tabs), but is useful when returning to a list from a details view.

---

<div class="post-metadata">

### Author: ![Gary\_Biagioni](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_biagioni/32/4201_2.png) [@Gary\_Biagioni](https://community.glideapps.com/u/Gary_Biagioni)
#### Post date: [March 1, 2021, 3:03pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/6 "2021-03-01T15:03:32Z")

</div>

Cool. I have an app that I need to remove the the back arrow. Could you elaborate (in another post maybe).

But I was referring to when you close the app sorry I was not clear

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [March 1, 2021, 3:17pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/7 "2021-03-01T15:17:53Z")

</div>

> [@CSS for hiding stuff!](https://community.glideapps.com/t/css-for-hiding-stuff/19631):
>
> Hey guys!! I recently started experimenting with CSS. I didn’t really like the back button when using link to screen in the onboarding process. But guess what! After learning, researching and inspecting, I know the Rich Text! Hide back button: \<pre\>\<span\>\<style\> [data-test="back-button"]{ display: none } Hide edit pencil \<pre\>\<span\>\<style\> [data-test="nav-button-Edit"]{display: none} Hide the entire top part/header \<pre\>\<span\>\<style\> [data-test="glide-app-bar"]{display: none} Hide Hamburger…

---

<div class="post-metadata">

### Author: ![Gary\_Biagioni](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_biagioni/32/4201_2.png) [@Gary\_Biagioni](https://community.glideapps.com/u/Gary_Biagioni)
#### Post date: [March 4, 2021, 4:50pm UTC](https://community.glideapps.com/t/enhancement-when-switching-tabs/23564/8 "2021-03-04T16:50:07Z")

</div>

Darren thanks a bunch this was very helpful
