# Stop context menu click from propagating to items behind it

**URL:** <https://forum.inductiveautomation.com/t/stop-context-menu-click-from-propagating-to-items-behind-it/117794>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 10, 2026, 4:54am UTC](https://forum.inductiveautomation.com/t/stop-context-menu-click-from-propagating-to-items-behind-it/117794 "2026-11-10T04:54:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [November 10, 2026, 4:54am UTC](https://forum.inductiveautomation.com/t/stop-context-menu-click-from-propagating-to-items-behind-it/117794/1 "2026-11-10T04:54:57Z")

</div>

Using perspective 8.3.10.

I have a right-click context menu on a component, and one of the items in it runs a method which calls a popup. All fine, but when the popup opens, so does another one - because when I clicked the item on the context menu, behind it was an item which also has an onClick item to show a popup.

I understand that this is exactly what the "stop propagation" option is for on events, but this script is called by a custom method, and the custom method doesn't have that option.

How can I have the context menu block the click from passing through to whatever is behind it? I'd hate for the context menu just happen to be over a start button or a stop button or something and have an operator inadvertently start or stop something important.
