how to use scrollToIndex with infiniteLoader?

390 Views Asked by At

I use the List+InfiniteLoader combination and I'd like to specify the index at which the list should start rendering at load time. I tried setting the scrollToIndex property on the List component without success.

What would be the proper way to set the start index to render with InfiniteLoader+List ?

1

There are 1 best solutions below

0
On

setting scrollToIndex to the line number and scrollToAlignment to "start" on the list did the trick.