# Show ContextMenu on left mouse click?

**URL:** <https://forum.inductiveautomation.com/t/show-contextmenu-on-left-mouse-click/73825>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 17, 2023, 5:46am UTC](https://forum.inductiveautomation.com/t/show-contextmenu-on-left-mouse-click/73825 "2023-05-17T05:46:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 17, 2023, 5:46am UTC](https://forum.inductiveautomation.com/t/show-contextmenu-on-left-mouse-click/73825/1 "2023-05-17T05:46:08Z")

</div>

Is it possible to show the contextMenu on left click?  
I need to add icons into the menu and you can't do it in the Dropdown component ☹

> [@\[FEATURE\] Add ability to add Icon and styling to Perspective Dropdown items](https://forum.inductiveautomation.com/t/feature-add-ability-to-add-icon-and-styling-to-perspective-dropdown-items/73823):
>
> I'd like to be able to add an icon (with position: left, centre?, right) with colour / styling into the items of a dropdown menu list. I have a dropdown list where an operator can select items to produce. If the item has already been produced, it will have a check next to it, but they will still be able to select it to make it again. (sounds a bit odd, but that's the requirement)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [May 17, 2023, 4:26pm UTC](https://forum.inductiveautomation.com/t/show-contextmenu-on-left-mouse-click/73825/2 "2023-05-17T16:26:33Z")

</div>

No, there's not. I floated the idea of handling the Context Menu in the same way we do Tooltips, where each component has functions like `requestContextMenu` and `dismissContextMenu` - but it never gained traction.

---

<div class="post-metadata">

**Author:** ![ghaugen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ghaugen/32/20494_2.png) [@ghaugen](https://forum.inductiveautomation.com/u/ghaugen)\
**Post date:** [June 21, 2023, 10:08pm UTC](https://forum.inductiveautomation.com/t/show-contextmenu-on-left-mouse-click/73825/4 "2023-06-21T22:08:02Z")

</div>

`requestContextMenu` and `removeContextMenu` both exist and function similarly to how `requestTooltip` and `removeTooltip` behave. So I believe you could set something up to call and remove a context menu from a script called from a left mouse click
