I am struck with a problem. I need to know whether or not the context menu is hidden or not. I am not using any kind of plugin for the context menu.
What I did to fix this is when I right click and open the context menu (default) I make
contextMenuVisible = true
while this menu is open and I click anywhere else the menu gets hidden, but in this click the click event handler is not called. But I need to set contextMenuVisible
to false
.
May be this is a wrong approach to solve the issue, if so please tell me the way to achieve this. Please help.