react-native-keyboard-avoiding-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-avoiding-scroll-view copied to clipboard

initial scroll position? or get internal scrollview ref

Open maartenvandillen opened this issue 4 years ago • 3 comments

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.

maartenvandillen avatar Jun 10 '20 13:06 maartenvandillen

hello having same problem any solution?

dhairyasenjaliya avatar Oct 20 '20 05:10 dhairyasenjaliya

any solution? @yenbekbay.

asadqazi avatar Apr 04 '23 17:04 asadqazi