Mousedown (right click) disable browser context menu

Tags: #<Tag:0x00007efc655130e8>

Hi,

please take a look at the http://jsfiddle.net/ya39q44x/ . As you can see (at least in chrome), if you right click on any cell “blah” will be printed to the console, but chrome’s right click context menu will also be shown.

Is there any way to disable it?

In my real word example I’m opening custom modal on right click (which works fine), but as shown on this simple example, browsers context menu will also pop up.

Hi @danijel.dukaric

I do not think that it is related to Handsontable itself. Please take a look at this SO post http://stackoverflow.com/questions/381795/how-to-disable-right-click-context-menu-in-javascript

It explains how to prevent the browser window from showing up on the RMB click.