Releases: meliorence/react-native-snap-carousel
Releases · meliorence/react-native-snap-carousel
v3.9.1
v3.9.0
- Fix for incorrect snapToItem (thanks @Romick2005 & @sergeyzhukov)
- Fix issue with tappable pagination dots (thanks @Creskendoll)
- Clear all timeouts when stopping autoplay (thanks @adrianocola)
- Add props
animatedDuration
,animatedFriction
,animatedTension
anddelayPressInDot
to thePagination
component (thanks @muhlenbrock)
v3.8.4
v3.8.3
- Seems like it's time to remove the
getItemLayout
&initialScrollIndex
override to properly display the first item when its index is a huge number (thanks @rontalx)⚠️ Make sure to read how these props work together (link#1 & link #2), and to understand why they were disabled in the first place!
- Fix
snapToItem
not working whenenableMomentum
is set totrue
on Android (thanks @daaashleywch) - Add basic TypeScript support (thanks @facuacostag)
- Stack layout's peaking items will remain opaque if
inactiveSlideOpacity
is set to1
v3.8.2
- Fix autoplay stop after user interaction (thanks @HelloCore)
- Allow using a custom animated image component with
ParallaxImage
(thanks @DanielMarkiel)
v3.8.1
- Migrate from deprecated
componentWillReceiveProps
tocomponentDidUpdate
(thanks @kiarashws) - Use
console.error
instead ofconsole.warn
for critical warnings (thanks @bardiarastin) - Update parallax doc (thanks @bardiarastin)
v3.8.0
- Set
removeClippedSubviews
tofalse
by default for 'tinder' and 'stack' layouts, or whenuseScrollView
is set totrue
. This aims at preventing a bunch of rendering issues. - Make sure that autoplay is properly restarted after a
touchStart
event - Allow serialized animated event as
onScroll
. See #439 for more info (thanks @Jberivera) - Allow using a custom scroll component. See #498 for more info (thanks @martinezguillaume)
- Prevent loop animation from being played when reaching the end of the dataset. See #443 for more info (thanks @suhanmoon)
- Fire the
onTouchStart
prop. See #464 for more info (thanks @sangle7) - Add accessibilityLabel to
Pagination
. See #438 for more info (thanks @thymikee) - Allow
contentContainerCustomStyle
to override default paddings. See #482 for more info (thanks @yamov)