Reproducible in Chrome and Firefox. Not reproducible in IE11.
Dojo example.
There are two Menus. In the first one navigation is triggered from the function passed to the "Sub Item 2" item's url option. In the second Menu navigation is triggered in the Menu's select event handler.
Doing this in the first Menu, results in the submenu remaining open.
The submenu should close in both scenarios, since closeOnClick is enabled by default and the select event fires before triggering the navigation.
Hello Jerome,
Thank you for the ASP.NET Core sample project. As a temporary workaround you could use the suggestion provided by my colleague in the forum thread below and closing the submenu by calling the Menu's close API method:
https://www.telerik.com/forums/closeonclick-dataurlfield
function onNavigate(e) {
var menu = $("#menu").getKendoMenu();
menu.close();
window.open("https://www.wikipedia.org", "Wikipedia");
}
Here is an updated dojo with the above suggestion implemented.
Regards,
I would be happy to beta test any workaround or fixes for this issue.
Also, I am attaching an asp.net core sample project that demonstrates this issue with both methods (url and select event) not closing the sub menu.