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.25k stars 2.26k forks source link

pagingEnabled={false} #717

Open pyeonjaesik opened 4 years ago

pyeonjaesik commented 4 years ago

Is this a bug report, a feature request, or a question?

question

How can I set pagingEnabled={false}?

ajacquierbret commented 4 years ago

Hi @pyeonjaesik ! I don't really understand the question, do you want to disable pagination ? (rendering dots ?). By default, no pagination is provided, if you want to enable pagination, add the Pagination component.

See this MD : https://github.com/archriss/react-native-snap-carousel/blob/master/doc/PAGINATION.md

If you already use this compo, try to set the 'dotsLength' prop to 0.

dohooo commented 2 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