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

lolsob-rspec
Yamagishi Kazutoshi 2020-06-02 10:24:04 +09:00 committed by GitHub
parent 373a6467c5
commit 196bdd3dd7
1 changed files with 1 additions and 1 deletions

View File

@ -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}