ignore meta keys on input
This commit is contained in:
parent
01dfb15654
commit
b9e177f800
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ export default class ContentInputComponent {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.key === 'OS') {
|
if (['Shift', 'Control', 'Alt', 'OS'].includes(e.key)) {
|
||||||
|
// pressing only meta key is ignored
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue