Reputation: 21
I want to put a FlatList inside another one, but the child flatlist not scrolling.
I tried to convert the child FlatList to ScrollView, put the props scrollEnabled to false to the parent FlatList and both not work.
Here is a code example of what I want to do: https://snack.expo.io/HJ6d97gNH
I expect to scroll inside both flatlist, not only one.
Upvotes: 1
Views: 1026
Reputation: 148
use nestedScrollEnabled in inner Flatlist for enabling the scrolling activity
Upvotes: 2
Reputation: 2702
You can use the nestedScrollEnabled
prop but I would recommend using a <SectionList>
since this is somehow buggy!
Upvotes: 1