From 90dbd9f6acaf4beaab709857ee8a3a97c23d218c Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Fri, 24 Jul 2015 14:21:37 -0700 Subject: [PATCH] fix(composer): fix tabbing in composer --- src/components/menu.cjsx | 1 + 1 file changed, 1 insertion(+) 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)