Disable context menu when draggable element is right clicked on Frameless window


As in the topic, is there a way to block/disable/prevent showing it? By draggable I refer to the element that has this style:
-webkit-app-region: drag;

This menu does not work properly (Move and Size items are broken) and can’t be styled.


I had this same problem with
-webkit-app-region: drag;

Ended up removing it from the nav bar and putting above on a heading area above the nav bar.