‘close’ method closes the menu only in context menu mode.
Fair enough, I missed that, oops.
Please, use ‘closeItem’ method with correct menu item id.
Here is a demo of jqxMenu with correct settings.
Kinda silly that this works when picking the ‘root’ as the item to close, but stops working once you set autoCloseOnClick
to false
. Is there any way around this or a way to close the menu without having to specify a specific item?