hi Tom, thank You for quick response,
i think this is exactly the failure criterion:
“Failure to make content dismissable without moving pointer hover or keyboard focus”
Thanks for the API link, i surely will use it
I someone else would need it:
$(document).keyup(function(e) {
if (e.key === "Escape") {
$('ul.max-mega-menu').each( function() {
$(this).data('maxmegamenu').hideAllPanels();
});
}
});
i think it is not met,
You should be also able to dismiss sub-menu (by pressing ESC) that was hovered
It’s worth noting that disabling “Include the search for native string functions of WordPress” in plugin options solves the problem.