# \[IGN-2207\] Is there a way to stop/intercept a Tab Container tab change?

**URL:** <https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 2, 2021, 4:11pm UTC](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214 "2021-04-02T16:11:32Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [May 11, 2022, 3:51pm UTC](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214/16 "2022-05-11T15:51:24Z")

</div>

> [@pascal.fragnoud](#):
>
> The best I can think of is making multiple copies of this class, for different tab indices, and assign the class dynamically.

You could put a binding on the backgroundPosition style attribute, and use the currentTabIndex to assign the index number.

Something like:

```auto
concat('} .psc-target_tab .tab-menu-item[data-index="',{TabContainer.props.currentTabIndex},'"] {pointer-events: None } {')

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214)._
