In react-native-snap-carousel the ScrollView
and FlatList
implementations are hard coded to the ones provides by "react-native".
Can we add a prop to allow users to provide their own wrapped versions of ScrollView
and FlatList
, similar to how FlatList
allows you to provide a wrapped implementation of ScrollView
using the renderScrollComponent
prop.
This would allow users to use the wrapped FlatList and ScrollView provided by react-native-gesture-handler
.
react-native-gesture-handler
allows you to specify a waitFor
prop on a ScrollView
that tells the ScrollView to wait for other gesture handlers to become active or not. For example there could be a Slider component within a horizontal scrollview.
Waiting for this !
If someone wants to jump in and submit a clean PR for that, I'll be more than happy to merge it!
Here we go !
Most helpful comment
Here we go !