Releases: meliorence/react-native-snap-carousel
Releases · meliorence/react-native-snap-carousel
v3.3.0
- Bring in the most wanted 'infinite loop' feature 🎉 (see the 'Loop' section for more info about the new props
loopandloopClonesPerSide) - Improve Android behavior when momentum is disabled
- Guard against potential errors when component is unmounted
- Add prop
lockScrollWhileSnappingto improve behavior when momentum is disabled
v3.2.3
v3.2.2
- Fix RTL issues
- Fix issue with active item when
enableMomentumwas set totrue - Fix issue with overlapping items (thanks @henninghall)
ParallaxImagecomponent: allow overriding default stylesPaginationcomponent: adapt to RTL layouts
v3.2.1
v3.2.0
- Refactor callback handling. Make sure to use the new prop
callbackOffsetMarginif you experience missed callbacks. - Make item's scale and opacity animations follow scroll value (thanks @hammadj)
Paginationcomponent: make dots tappable with new propstappableDotsandcarouselRef(see the example)- Fix issue when carousel has been unmounted but parent container requires to re-render
- Fix state and scroll issues when the currently active item is being dynamically removed
- Improve snap feeling when momentum is disabled (default)
- Add prop
callbackOffsetMargin - Remove props
animationFunc,animationOptions,scrollEndDragDebounceValue,snapOnAndroid, anduseNativeOnScroll
v3.1.0
v3.0.0
WARNING
- Do not use this version as some temporary code was pushed to
npmby mistake. Make sure to use version3.1.0instead.
Breaking changes
- Plugin is now built on top of
FlatList, which allows for huge performance optimizations. From now on, items must be rendered using propsdataandrenderItem.
General
- Add
ParallaxImagecomponent (see the specific documentation here) - Add prop
activeSlideAlignment - Fix issue with autoplay when setting
scrollEnabledtofalse - Prevent going back to the first item when overscrolling the last one
- Prevent callback from being called at the wrong time in some specific scenarios
v2.4.0
- Add
Paginationcomponent (see the specific documentation here) - Allow
firstItemto be changed dynamically - Allow
0value forcarouselHorizontalPaddingandcarouselVerticalPadding(thanks @bonbonez) - Keep the easing of slide's opacity animation linear
- Use native driver for slide's animation (can be overridden via
animationOptions)
v2.3.1
v2.3.0
v2.3.0
- Refactor callback handling to provide a more reliable solution when momentum is disabled
- Fix issue with parallel animations (thanks @jnbt)
- Prevent calls to
undefinedinterpolators when working with dynamic slides (thanks @cskaynar) - Improve vertical mode
- Add prop
scrollEndDragDebounceValue - Expose current scroll position with
this.currentScrollPosition - Remove props
scrollEndDragThrottleValueandsnapCallbackDebounceValue(usescrollEndDragDebounceValueinstead)