Fix Textarea height should be reset upon sending toot #2189 (#2236)

pull/2246/head
Andrey Blinov 2017-04-21 00:53:54 +03:00 committed by Eugen
parent d2514445e1
commit 972f6bc861
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ const ComposeForm = React.createClass({
}, },
handleSubmit () { handleSubmit () {
this.autosuggestTextarea.textarea.style.height = "auto";
this.props.onSubmit(); this.props.onSubmit();
}, },