try to see if this fixes safari back

on of the 2 changes (updating dom async from compositionend,
or ignoring keydown while composing) here has, while fixing chrome,
broken safari.

Don't do the async dom updating for safari if that was it.
This commit is contained in:
Bruno Windels 2019-09-25 10:33:52 +02:00
parent 7bda1c58eb
commit ffe34ee8a1
3 changed files with 22 additions and 4 deletions

View file

@ -127,6 +127,7 @@ export default class EditMessageComposer extends React.Component {
}
_onKeyDown = (event) => {
// ignore any keypress while doing IME compositions
if (this._editorRef.isComposing(event)) {
return;
}