react-native-keyboard-avoiding-scroll-view
react-native-keyboard-avoiding-scroll-view copied to clipboard
initial scroll position? or get internal scrollview ref
Hi I would like to set the initial scroll position of the KeyboardAvoidingScrollView
. I know there is no cross platform prop for this in scrollview but I thought maybe it is possible to achieve this with the existing implementation of KeyboardAvoidingScrollView because it is full of scrolling logic?
If not, I tried getting a ref to the underlying scrollview using:
<KeyboardAvoidingScrollView ref={this.scrollView} .. />
but the ref .current property stays null.
hello having same problem any solution?
any solution? @yenbekbay.