Skip to content
Prev Previous commit
Next Next commit
Change keycode handling scope due to global keyboard support
  • Loading branch information
asmsuechan committed Oct 12, 2017
commit 15dc424ade209b6544813712180e8d7870879593
2 changes: 1 addition & 1 deletion browser/main/TopBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class TopBar extends React.Component {
})

// When the key is an alphabet, del, enter or ctr
if (e.keyCode <= 90) {
if (e.keyCode <= 90 || e.keyCode >= 186 && e.keyCode <= 222) {
this.setState({
isAlphabet: true
})
Expand Down