Hello, Michael,
The ContextMenu has built-in keyboard navigation that is enabled by default:
You can close the ContextMenu via the keyboard by either selecting an item(Enter key) or exiting without making a selection(Esc key).
Nevertheless, if you wish to close the menu when it loses focus then you'd have to manually implement the logic as the menu is not meant to close on lost focus by design:
$("#context-menu").on("keydown", (e) => {
if(e.which === 9) {
$("#context-menu").data("kendoContextMenu").close()
}
});
https://dojo.telerik.com/@gdenchev/UlAsImoF
I hope the above information will be helpful.
Best Regards,
Georgi Denchev
Progress Telerik