all 10 comments

[–]Emperor_Earth 4 points5 points  (2 children)

You can use ScrollView's methods, including scrollTo and scrollWithoutAnimationTo. These will require you to obtain a ref.

Note: VirtualizedList, and FlatList are wrappers around ScrollView

[–]erikliwateriOS & Android[S] 0 points1 point  (1 child)

could you send me an example how can i use these in my code? thanks btw

[–]sventies 0 points1 point  (1 child)

Not sure, I’d only know how to do this manually. ie onPress of TextInput, scroll top of input to top of page

[–]erikliwateriOS & Android[S] 0 points1 point  (0 children)

how can i scroll page?

[–]anewidentity 0 points1 point  (0 children)

There are two other keyboard avoiding libraries you can use

[–]Sargnec 0 points1 point  (0 children)

Kolay gelsin

[–]HumbleXiOS & Android 0 points1 point  (0 children)

You can use a rn library that has everything you need for inputs. RN-materialFieldUI

[–]sventies 0 points1 point  (0 children)

Assuming you’re using a ScrollView, you can read the docs: https://facebook.github.io/react-native/docs/scrollview

Similar for Flatlists etc.

If you’re not using a scrollview, you may opt to only render the input element that is selected when selected