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

This commit is contained in:
Andrey Blinov 2017-04-21 00:53:54 +03:00 committed by Eugen
parent 97ee17b5f1
commit 2f2ed33f84

View file

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