context menu should hidden when left/right/middle/keyboard on other place except the master area.

see here: http://webix.com/snippet/0a98ef7b

when click the left mouse button on the white area(not the yellow master area), context menu is hidden, this is good.

but when click the left or right mouse button on the white area, context menu is not hidden, this is not good. when click the middle mouse button or keypress on the white area, context menu is not hidden too, this is not good.

thanks!

Basically, Contextmenu is controlled by master and Webix part of the app.
If you want to hide context menus by clicking “non-Webix” areas, catch the click event on document and call Webix global onClick:

http://webix.com/snippet/3cac9ce6

I see, thanks!