Perspective disable right click?

How to disable right click?
I don't want to show this menu when I right click in Project.

The context menu is a native browser thing, it is not really blockable.

Since 8.1.25
You could overwrite it to be something else, idk if you can override it to be empty... and you would have to do this everywhere...

Perspective is built to behave just like any other website, which is why you see these native behaviors by default. There is no way to remove that context menu across an entire project or Gateway, though you could manage it at the individual component level by setting meta.contextMenu.enabled to true, and removing any items of the context menu object. This is because the component is then specifying to the browser that it has its own handling of the context click event (and then actually does nothing when it happens).

1 Like