about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Blinov <kodnaplakal@gmail.com>2017-04-21 00:53:54 +0300
committerEugen <eugen@zeonfederated.com>2017-04-20 23:53:54 +0200
commit972f6bc861affd9bc40181492833108f905a04b6 (patch)
treeb8480f97b8856f79a0b851ea207d1bdb9cee6e6e
parentd2514445e102a2b2ddb9ba638f67fcd8adf6a5af (diff)
Fix Textarea height should be reset upon sending toot #2189 (#2236)
-rw-r--r--app/assets/javascripts/components/features/compose/components/compose_form.jsx1
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();
   },