We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm using wix's KeyboardAwareScrollView, which comes with the feature of auto-scrolling to specific TextInputs.
For this, I'd need a ref to the actual TextInput component, since the principle is this:
<KeyboardAwareScrollView keyboardShouldPersistTaps={true} style={{flex: 1, paddingHorizontal: 10}} getTextInputRefs={() => { const {first_name} = this.refs.registrationForm.refs return [first_name] // --> this leads to error: textInputRef.isFocused is not a function. }} > <Form ref='registrationForm' > <InputField ref='first_name' placeholder='First Name' /> </Form> </KeyboardAwareScrollView>
So my question is, is there any way I can get the actual ref to the TextInput in my getTextInputRefs function?
getTextInputRefs
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm using wix's KeyboardAwareScrollView, which comes with the feature of auto-scrolling to specific TextInputs.
For this, I'd need a ref to the actual TextInput component, since the principle is this:
So my question is, is there any way I can get the actual ref to the TextInput in my
getTextInputRefs
function?Thanks!
The text was updated successfully, but these errors were encountered: