diff --git a/src/components/menu.cjsx b/src/components/menu.cjsx index a2a01230d..d6e4dbdff 100644 --- a/src/components/menu.cjsx +++ b/src/components/menu.cjsx @@ -203,6 +203,7 @@ class Menu extends React.Component _onKeyDown: (event) => + return if @props.items.length is 0 if event.key is "Enter" @_onEnter() else if event.key is "ArrowUp" or (event.key is "Tab" and event.shiftKey)