meliorence / react-native-snap-carousel

Swiper/carousel component for React Native featuring previews, multiple layouts, parallax images, performant handling of huge numbers of items, and more. Compatible with Android & iOS.
BSD 3-Clause "New" or "Revised" License
10.37k stars 2.29k forks source link

Implement a custom PanResponder #40

Open bd-arc opened 7 years ago

bd-arc commented 7 years ago

Current momentum implementation doesn't always feel right, particularly on Android. The best way to enhance it and to unify interactions between Android and iOS seems to implement a PanResponder.

Here are some implementations that could serve as a starting point:

Custom interaction ideas:

bd-arc commented 7 years ago

Closing for now since we've favored FlatList's implementation. This feature will maybe be added as an extra component later.

dohooo commented 3 years ago

Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2