React-native-snap-carousel: [Feature Request] Interop with react-native-gesture-handler

Created on 31 Jan 2019  ·  3Comments  ·  Source: meliorence/react-native-snap-carousel

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.

Background

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.

Most helpful comment

Here we go !

All 3 comments

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 !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KarlosQ picture KarlosQ  ·  4Comments

AndrePech picture AndrePech  ·  4Comments

akyker20 picture akyker20  ·  3Comments

sujitpk-perennial picture sujitpk-perennial  ·  3Comments

Murena7 picture Murena7  ·  3Comments