Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Nov 19, 2009 15:41
open dhtmlx forum
Context menu hidden behind Firefox normal context menu

Hi team,

When right click on a grid row (or tree) the context menu appears them immediately obscured by Firefox normal context menu.
To repeat it, if I press the right button and keep it pressed ( NOT release it) , my context menu appears, then when I release the button the normal context menu appears and hides my context menu!

How to cure this please?

Meta Info:
This is a Firefox issue only (works Ok in IE6+)
Firefox 3.0.15
dhtmlx ver 2.0 Pro


Thanks,

Daniel
Answer posted by Alex (support) on Nov 20, 2009 02:32

Hello,

please, try to use as the following code as a workaround:

document.body.oncontextmenu=function(){return false};