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

wkwyatt picture wkwyatt  路  4Comments

niloufarMakhzani picture niloufarMakhzani  路  4Comments

NikitaNeganov picture NikitaNeganov  路  3Comments

naffiq picture naffiq  路  5Comments

Murena7 picture Murena7  路  3Comments