fix(composer): fix tabbing in composer

This commit is contained in:
Evan Morikawa 2015-07-24 14:21:37 -07:00
parent b6dc7f0c9b
commit d3146b3a91

View file

@ -203,6 +203,7 @@ class Menu extends React.Component
</div>
_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)