ignore keydown events while doing IME composition
This commit is contained in:
parent
4d151722ff
commit
9f47fad305
3 changed files with 8 additions and 0 deletions
|
@ -127,6 +127,9 @@ export default class EditMessageComposer extends React.Component {
|
|||
}
|
||||
|
||||
_onKeyDown = (event) => {
|
||||
if (this._editorRef.shouldIgnoreKeyDownEvents()) {
|
||||
return;
|
||||
}
|
||||
if (event.metaKey || event.altKey || event.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue