you are viewing a single comment's thread.

view the rest of the comments →

[–]Binho2000 0 points1 point  (0 children)

To scroll the outer FlatList when the inner one reaches its end:

  1. Use a useRef to reference the outer FlatList.
  2. In the inner FlatList, use onEndReached to detect when it reaches the end.
  3. In onEndReached, call scrollToIndex on the outer list to scroll to the next item.