How to start a listview scrolls to a specific position in response mode

I tried initialOffset by calling refs.list.scrollTo (this error says undefined), but none of them work, although they are very good at scrollview.

How can I do that?

+5
react-native
source share
1 answer

I get it. This is possible with this.refs.list.refs['listviewscroll'].scrollWithoutAnimationTo(vertical, horizontal)

there may be some other, simpler way, but it works fine for native-native 0.10.0

+2
source share

All Articles