context menu left click in iframe problem

Hi all,
i have changed dhtmlxgrid.js at line 152

if (ev.button == 1||(_isMacOS&&ev.ctrlKey)){

}

to enable context menu left click activation in a grid.
But i’m having a problem when my grid is put inside an iframe, when using left click the context menu is only appear while i’m clicking the mouse. If not, the context menu will dissapear after i click it.

does anyone have a clue about this?
is it because the grid inside an iframe that cause this behavior?

thanks,
dian

Please open ticket at support.dhtmlx.com/ and provide complete demo where we can reproduce this issue.