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
System: Windows10 react-native: 0.63.2 react: 16.11.0 react-native-keyboard-aware-scrollview: 2.1.0 expo: 39.0.5 expo-cli: 3.28.6
I wanted to use the scrollToBottom function on a <KeyBoardAwareScrollView>.
scrollToBottom
<KeyboardAwareScrollView style={{flex: 1, backgroundColor: 'white'}} keyBoardShouldPersistTaps = "always" ref={(ref) => { this.listRef = ref; }} getTextInputRefs={() => {return [this.emailRef, this.passwordRef, this.firstnameRef, this.lastnameRef];}} >
I used a obviously a ref for that (
(ref) => {this.listRef = ref;}
I got the Error: TypeError: undefined is not an object (evaluating 'this._keyboardawarView.props.contentInset')
TypeError: undefined is not an object (evaluating 'this._keyboardawarView.props.contentInset')
I found the line in KeyboardAwareBase.js: 129
KeyboardAwareBase.js
After I deleted this element ( + this._keyboardAwareView.props.contentInset.bottom) it worked just fine!
Could you please fix this issue? I'm needing this view and it would be awesome if it worked!
Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System:
Windows10
react-native: 0.63.2
react: 16.11.0
react-native-keyboard-aware-scrollview: 2.1.0
expo: 39.0.5
expo-cli: 3.28.6
I wanted to use the
scrollToBottom
function on a <KeyBoardAwareScrollView>.I used a obviously a ref for that (
I got the Error:
TypeError: undefined is not an object (evaluating 'this._keyboardawarView.props.contentInset')
I found the line in
KeyboardAwareBase.js
: 129After I deleted this element ( + this._keyboardAwareView.props.contentInset.bottom) it worked just fine!
Could you please fix this issue? I'm needing this view and it would be awesome if it worked!
Thanks in advance
The text was updated successfully, but these errors were encountered: