Closed dswbx closed 6 years ago
Added a new prop to make TextInput's ref accessible. Example usage:
ref
<TagInput {/*...*/} inputRef={(r) => this._inputRef = r} />
The reason for it is e.g. when using Keyboard aware ScrollView mechanisms and need to keep track of TextInput's focus state.
sry, just noticed that you can already access it by <TagInput ref="tagInput" /> and this.refs.tagInput.tagInput.
<TagInput ref="tagInput" />
this.refs.tagInput.tagInput
Added a new prop to make TextInput's
ref
accessible. Example usage:The reason for it is e.g. when using Keyboard aware ScrollView mechanisms and need to keep track of TextInput's focus state.