mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +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
|
// 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({
|
this.setState({
|
||||||
isAlphabet: true
|
isAlphabet: true
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user