diff --git a/src/components/markdownEditor/view/markdownEditorView.js b/src/components/markdownEditor/view/markdownEditorView.js index 6a65dc4ae..7bd5d4b39 100644 --- a/src/components/markdownEditor/view/markdownEditorView.js +++ b/src/components/markdownEditor/view/markdownEditorView.js @@ -199,7 +199,7 @@ export default class MarkdownEditorView extends Component { }; render() { - const { handleOpenImagePicker, intl, isPreviewActive, isReply } = this.props; + const { handleOpenImagePicker, intl, isPreviewActive, isReply, isLoading } = this.props; const { text, selection } = this.state; return ( @@ -223,6 +223,7 @@ export default class MarkdownEditorView extends Component { underlineColorAndroid="transparent" value={text} innerRef={this.inputRef} + editable={!isLoading} /> ) : ( this._renderPreview() diff --git a/src/screens/editor/screen/editorScreen.js b/src/screens/editor/screen/editorScreen.js index 0544bb339..a25341111 100644 --- a/src/screens/editor/screen/editorScreen.js +++ b/src/screens/editor/screen/editorScreen.js @@ -236,6 +236,7 @@ class EditorScreen extends Component { uploadedImage={uploadedImage} initialFields={this._initialFields} isReply={isReply} + isLoading={isPostSending || isUploading} />