mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Change keycode handling scope due to global keyboard support
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user