Skip to content
Snippets Groups Projects
Commit 20b64702 authored by masarakki's avatar masarakki Committed by Eugen Rochko
Browse files

refocus-after-toot (#3537)

parent 3eedad27
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,8 @@ class ComposeForm extends ImmutablePureComponent {
this.autosuggestTextarea.textarea.setSelectionRange(selectionStart, selectionEnd);
this.autosuggestTextarea.textarea.focus();
} else if(prevProps.is_submitting && !this.props.is_submitting) {
this.autosuggestTextarea.textarea.focus();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment