I need to implement a right-click functionality in my component. Here is the code snippet:
(contextmenu)="openNote(i)"
This code opens a popup when I perform a right-click.
The issue I'm facing is that when I right-click, it triggers both my custom function and the browser's context menu (with options like 'back', 'refresh', etc).
Is there a way to prevent the browser's default context menu from appearing when I trigger my function?