ignore meta keys on input

jh-changes
Shin'ya Ueoka 7 years ago
parent 01dfb15654
commit b9e177f800
  1. 3
      src/content/components/content-input.js

@ -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;
} }