Closed ghost closed 10 years ago
I have simple code like this:
$('.canvas').contextmenu({ target: '#canvas-menu' });
When I open the menu and click the canvas, the menu doesn't close. In my app, the canvas covers the entire screen, making it hard for the user to close the menu without selecting a menu item.
It works in the demo. I must be doing something wrong.
I have simple code like this:
$('.canvas').contextmenu({ target: '#canvas-menu' });
When I open the menu and click the canvas, the menu doesn't close. In my app, the canvas covers the entire screen, making it hard for the user to close the menu without selecting a menu item.