Introduce react-textarea-autosize instead of using style.height side effects (#3334)
This commit is contained in:
parent
860e257a68
commit
c48772fd3f
4 changed files with 10 additions and 11 deletions
|
@ -67,7 +67,6 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
handleSubmit = () => {
|
||||
this.autosuggestTextarea.reset();
|
||||
this.props.onSubmit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue