Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Don't do suggestion actions on non-char key presses
Browse files Browse the repository at this point in the history
Auditors: @bsclifton

Fix #5878

Test comming in a follow up commit now, just pushing without so you can get a build going
  • Loading branch information
bbondy committed May 18, 2017
1 parent 45b82c2 commit d6140f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/renderer/components/navigation/urlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ class UrlBar extends React.Component {
case KeyCodes.DOWN:
case KeyCodes.TAB:
case KeyCodes.ESC:
case KeyCodes.LEFT:
case KeyCodes.SHIFT:
case KeyCodes.RIGHT:
return
}
if (this.props.isSelected) {
Expand Down

0 comments on commit d6140f7

Please sign in to comment.