Merge pull request #45 from ueokande/fix-38

Ignore meta keys on input
jh-changes
Shin'ya Ueoka 7 years ago committed by GitHub
commit 77cc377803
  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;
} }