Browse Source

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

closed-social-glitch-2
Andrey Blinov 7 years ago
committed by Eugen
parent
commit
972f6bc861
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/assets/javascripts/components/features/compose/components/compose_form.jsx

+ 1
- 0
app/assets/javascripts/components/features/compose/components/compose_form.jsx View File

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

Loading…
Cancel
Save