mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
fix(composer): fix tabbing in composer
This commit is contained in:
parent
b6dc7f0c9b
commit
d3146b3a91
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ class Menu extends React.Component
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
_onKeyDown: (event) =>
|
_onKeyDown: (event) =>
|
||||||
|
return if @props.items.length is 0
|
||||||
if event.key is "Enter"
|
if event.key is "Enter"
|
||||||
@_onEnter()
|
@_onEnter()
|
||||||
else if event.key is "ArrowUp" or (event.key is "Tab" and event.shiftKey)
|
else if event.key is "ArrowUp" or (event.key is "Tab" and event.shiftKey)
|
||||||
|
|
Loading…
Reference in a new issue