From 972f6bc861affd9bc40181492833108f905a04b6 Mon Sep 17 00:00:00 2001 From: Andrey Blinov Date: Fri, 21 Apr 2017 00:53:54 +0300 Subject: [PATCH] Fix Textarea height should be reset upon sending toot #2189 (#2236) --- .../components/features/compose/components/compose_form.jsx | 1 + 1 file changed, 1 insertion(+) 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 805aad3d52d..e6e68351e2b 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(); },