diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index 97e8780f0fd..66bae869ffa 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -244,12 +244,14 @@ export default class MessageComposerInput extends React.Component { let editorState = null; if (contentState) { - editorState = EditorState.createWithContent(contentState, compositeDecorator); + editorState = EditorState.moveFocusToEnd( + EditorState.createWithContent(contentState, compositeDecorator) + ); } else { editorState = EditorState.createEmpty(compositeDecorator); } - return EditorState.moveFocusToEnd(editorState); + return editorState; } componentDidMount() {