ignore keydown events while doing IME composition

This commit is contained in:
Bruno Windels 2019-09-24 15:32:30 +02:00
parent 4d151722ff
commit 9f47fad305
3 changed files with 8 additions and 0 deletions

View file

@ -177,6 +177,8 @@ export default class BasicMessageEditor extends React.Component {
}, 0);
}
shouldIgnoreKeyDownEvents() {
return this._isIMEComposing;
}
_onPaste = (event) => {