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

autoplay prop doesn't accept bolean variable for dynamic autoplaying #798

Open 16ntu1120 opened 3 years ago

16ntu1120 commented 3 years ago

Whenever I give autoplay prop true directly will show smooth animation but whenever I give it props through a bolean variable doesn't show smoothness. Need help.

saravanakumargn commented 3 years ago

Check this startAutoplay (instantly = false)

https://github.com/meliorence/react-native-snap-carousel/blob/master/doc/PROPS_METHODS_AND_GETTERS.md

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