diff --git a/src/components/views/rooms/BasicMessageComposer.js b/src/components/views/rooms/BasicMessageComposer.js index 7042cdc00d..5b597e1999 100644 --- a/src/components/views/rooms/BasicMessageComposer.js +++ b/src/components/views/rooms/BasicMessageComposer.js @@ -203,9 +203,9 @@ export default class BasicMessageEditor extends React.Component { if (isSafari) { this._onInput({inputType: "insertCompositionText"}); } else { - setTimeout(() => { + Promise.resolve().then(() => { this._onInput({inputType: "insertCompositionText"}); - }, 0); + }); } }