Shopify / flash-list

A better list for React Native
https://shopify.github.io/flash-list/
MIT License
5.53k stars 283 forks source link

VirtualizedList props #231

Open fortmarek opened 2 years ago

fortmarek commented 2 years ago

FlatList inherits all the props from VirtualizedList. There are some we already support, but not all of them. To achieve complete feature parity with FlatList, we will need to implement the remainder (except those which don't make sense for our implementation)

Props:

Methods:

naqvitalha commented 2 years ago

This is great. I think we need one from ScrollView as well. We might be missing some things there too. I'd expect that list to be much shorter.

fortmarek commented 2 years ago

I think we need one from ScrollView as well. We might be missing some things there too.

The ScrollView props should just work (although we should double-check the whole list).

Afaict, we are only missing one ScrollView method which is scrollTo

naqvitalha commented 2 years ago

There are some around sticky headers which won't work. We can just filter them out for now. Some can be easily implemented in the future so it would be nice to track them.