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

lolsob-rspec
Andrey Blinov 2017-04-21 00:53:54 +03:00 committed by Eugen
parent 97ee17b5f1
commit 2f2ed33f84
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();
}, },