Eugnis / react-native-timeline-flatlist

FlatList based timeline component for React Native for iOS and Android
https://www.npmjs.com/package/react-native-timeline-flatlist
MIT License
478 stars 69 forks source link

feat: isUsingFlatlist #53

Closed kibolho closed 2 years ago

kibolho commented 3 years ago

Adding the option to use or not flatlist. In my case, I would like to use it inside a scroll view, so I got this warning:

VirtualizedLists should never be nested inside plain scrollviews with the same orientation

So I added a flag to not use a flatlist and use a normal map of items.

shobhitsinghal624 commented 2 years ago

This seems to be a good solution for showing a Timeline inside a ScrollView. @Eugnis Can this be merged? These are all additional changes and backward compatible too.