diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2020-06-02 10:24:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 03:24:04 +0200 |
commit | f96a891853e73454bacdb25922d403834878f8c4 (patch) | |
tree | 4a1e0ebeb3afdb74ca79085f987033c6ed1965e5 /app | |
parent | d9b9c9732f4b602678b89acafc1390867ccce9a7 (diff) |
Fix ref attr for react-textarea-autozsize (#13936)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/components/autosuggest_textarea.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/autosuggest_textarea.js b/app/javascript/mastodon/components/autosuggest_textarea.js index ac2a6366a..58ec4f6eb 100644 --- a/app/javascript/mastodon/components/autosuggest_textarea.js +++ b/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} |