diff options
author | Andrey Blinov <kodnaplakal@gmail.com> | 2017-04-21 00:53:54 +0300 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-20 23:53:54 +0200 |
commit | 972f6bc861affd9bc40181492833108f905a04b6 (patch) | |
tree | b8480f97b8856f79a0b851ea207d1bdb9cee6e6e /app | |
parent | d2514445e102a2b2ddb9ba638f67fcd8adf6a5af (diff) |
Fix Textarea height should be reset upon sending toot #2189 (#2236)
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/features/compose/components/compose_form.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/features/compose/components/compose_form.jsx b/app/assets/javascripts/components/features/compose/components/compose_form.jsx index 805aad3d5..e6e68351e 100644 --- a/app/assets/javascripts/components/features/compose/components/compose_form.jsx +++ b/app/assets/javascripts/components/features/compose/components/compose_form.jsx @@ -62,6 +62,7 @@ const ComposeForm = React.createClass({ }, handleSubmit () { + this.autosuggestTextarea.textarea.style.height = "auto"; this.props.onSubmit(); }, |