Menu openAction: "click"

we want to use openAction: “click” in our application for a menu. But its not possible to close the submenu with clicking again on the button only with double click. Is this intended? And if it is intended is there a workaround how to close it with 1 click again?


Good day @Ragilo ,
By default you should click somewhere outside the menu to hide a submenu.
However, you may redefine the default behaviour in onMenuItemClick event handler: Code Snippet .