diff --git a/src/js/menu/menu-item.js b/src/js/menu/menu-item.js index dcee1bca0..99accf6d4 100644 --- a/src/js/menu/menu-item.js +++ b/src/js/menu/menu-item.js @@ -94,7 +94,7 @@ class MenuItem extends ClickableComponent { * @listens keydown */ handleKeyDown(event) { - if (['Tab', 'Escape', 'ArrowUp', 'ArrowLeft', 'ArrowRight', 'ArrowDown'].includes(event.key)) { + if (!['Tab', 'Escape', 'ArrowUp', 'ArrowLeft', 'ArrowRight', 'ArrowDown'].includes(event.key)) { // Pass keydown handling up for unused keys super.handleKeyDown(event); }