1
0
Fork 0
forked from fedi/mastodon

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 d2514445e1
commit 972f6bc861

View file

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