# Double event trigger

**URL:** <https://forum.inductiveautomation.com/t/double-event-trigger/102164>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 11, 2025, 1:48pm UTC](https://forum.inductiveautomation.com/t/double-event-trigger/102164 "2025-02-11T13:48:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romain\_Deux](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@Romain\_Deux](https://forum.inductiveautomation.com/u/Romain_Deux)\
**Post date:** [February 11, 2025, 1:48pm UTC](https://forum.inductiveautomation.com/t/double-event-trigger/102164/1 "2025-02-11T13:48:20Z")

</div>

Hello,

In a flex container, I have an event on the root and an event on a navigation button. The problem is that when I click on the button, the 2 events are triggered. Is it possible to prioritise one action over the other? I would like to prioritize the navigation button event.  
Thank you,

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 11, 2025, 1:51pm UTC](https://forum.inductiveautomation.com/t/double-event-trigger/102164/2 "2025-02-11T13:51:48Z")

</div>

I imagine the event on the root is an `on startup` event ?  
And you would like to skip it if you opened that view by clicking on your navigation button ?

You could, I guess, set some flag somewhere, through a parameter maybe, to tell the view's event not to run, but you probably should be rethinking your navigation/view initialization scheme.

What do the two events do ?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 11, 2025, 1:53pm UTC](https://forum.inductiveautomation.com/t/double-event-trigger/102164/3 "2025-02-11T13:53:22Z")

</div>

Web applications are designed to work this way--events "bubble up" aka _propagate_ from inner components to all of their containers. Most Ignition event definitions have a "Stop Propagation" option. Set that on your navigation button action.

(FWIW, this is not true in Vision--there, events stop at the innermost component/container that has that kind of event listener.)
