Fix ref attr for react-textarea-autozsize (#13936)

master
Yamagishi Kazutoshi 5 years ago committed by GitHub
parent d9b9c9732f
commit f96a891853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/components/autosuggest_textarea.js

@ -208,7 +208,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
<span style={{ display: 'none' }}>{placeholder}</span>
<Textarea
inputRef={this.setTextarea}
ref={this.setTextarea}
className='autosuggest-textarea__textarea'
disabled={disabled}
placeholder={placeholder}

Loading…
Cancel
Save