Context Menu - On Left Click

Hi,

Is there any way to get the Context Menu Service to open on a left click instead of a right click?

Best,
Garrett

Hi @grwomack,

This should be possible as the context menu is shown programatically when certain event occurs. You can try the following:

 <button @onclick=@(args => ShowContextMenu(args)) @onclick:preventDefault="true">
     click me
</button>
1 Like

Thanks Korchev, that worked. I appreciate the quick response.

Best,
Garrett