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

Commit d6140f7

Browse files
committed
Don't do suggestion actions on non-char key presses
Auditors: @bsclifton Fix #5878 Test comming in a follow up commit now, just pushing without so you can get a build going
1 parent 45b82c2 commit d6140f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/renderer/components/navigation/urlBar.js

+3
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ class UrlBar extends React.Component {
324324
case KeyCodes.DOWN:
325325
case KeyCodes.TAB:
326326
case KeyCodes.ESC:
327+
case KeyCodes.LEFT:
328+
case KeyCodes.SHIFT:
329+
case KeyCodes.RIGHT:
327330
return
328331
}
329332
if (this.props.isSelected) {

0 commit comments

Comments
 (0)