Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
438dd00fe7
1 changed files with 4 additions and 2 deletions
|
@ -244,12 +244,14 @@ export default class MessageComposerInput extends React.Component {
|
||||||
|
|
||||||
let editorState = null;
|
let editorState = null;
|
||||||
if (contentState) {
|
if (contentState) {
|
||||||
editorState = EditorState.createWithContent(contentState, compositeDecorator);
|
editorState = EditorState.moveFocusToEnd(
|
||||||
|
EditorState.createWithContent(contentState, compositeDecorator)
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
editorState = EditorState.createEmpty(compositeDecorator);
|
editorState = EditorState.createEmpty(compositeDecorator);
|
||||||
}
|
}
|
||||||
|
|
||||||
return EditorState.moveFocusToEnd(editorState);
|
return editorState;
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Loading…
Reference in a new issue