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.
getNode()
deprecation warning with RN 0.62+
(thanks @r0b0t3d)animatedDuration
, animatedFriction
, animatedTension
and delayPressInDot
to the Pagination
component (thanks @muhlenbrock)npm install --save @types/react-native-snap-carousel
getItemLayout
& initialScrollIndex
override to properly display the first item when its index is a huge number (thanks @rontalx)
snapToItem
not working when enableMomentum
is set to true
on Android (thanks @daaashleywch)inactiveSlideOpacity
is set to 1
ParallaxImage
(thanks @DanielMarkiel)componentWillReceiveProps
to componentDidUpdate
(thanks @kiarashws)console.error
instead of console.warn
for critical warnings (thanks @bardiarastin)removeClippedSubviews
to false
by default for 'tinder' and 'stack' layouts, or when useScrollView
is set to true
. This aims at preventing a bunch of rendering issues.touchStart
eventonScroll
. See #439 for more info (thanks @Jberivera)onTouchStart
prop. See #464 for more info (thanks @sangle7)Pagination
. See #438 for more info (thanks @thymikee)contentContainerCustomStyle
to override default paddings. See #482 for more info (thanks @yamov)scrollEnabled
introduced in version 3.7.3
... again! (thanks @ifsnow)scrollEnabled
introduced in version 3.7.3
(thanks @JakeRawr)data
before checking for data.length
scrollEnabled
override when it was initially set to false
(thanks @JakeRawr)