Skip to content

Releases: meliorence/react-native-snap-carousel

v3.3.0

02 Oct 16:29
Compare
Choose a tag to compare
  • Bring in the most wanted 'infinite loop' feature 🎉 (see the 'Loop' section for more info about the new props loop and loopClonesPerSide)
  • Improve Android behavior when momentum is disabled
  • Guard against potential errors when component is unmounted
  • Add prop lockScrollWhileSnapping to improve behavior when momentum is disabled

v3.2.3

21 Sep 08:58
Compare
Choose a tag to compare
  • Fix issue with callback not fired when doing a long swipe

v3.2.2

18 Sep 17:11
Compare
Choose a tag to compare
  • Fix RTL issues
  • Fix issue with active item when enableMomentum was set to true
  • Fix issue with overlapping items (thanks @henninghall)
  • ParallaxImage component: allow overriding default styles
  • Pagination component: adapt to RTL layouts

v3.2.1

14 Sep 08:45
Compare
Choose a tag to compare
  • Fix issue with active item when no callback has been specified (introduced in version 3.2.0)

v3.2.0

13 Sep 21:26
Compare
Choose a tag to compare
  • Refactor callback handling. Make sure to use the new prop callbackOffsetMargin if you experience missed callbacks.
  • Make item's scale and opacity animations follow scroll value (thanks @hammadj)
  • Pagination component: make dots tappable with new props tappableDots and carouselRef (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, and useNativeOnScroll

v3.1.0

24 Aug 13:50
Compare
Choose a tag to compare
  • Pagination component: add new props for advanced customization

v3.0.0

23 Aug 14:48
Compare
Choose a tag to compare

WARNING

  • Do not use this version as some temporary code was pushed to npm by mistake. Make sure to use version 3.1.0 instead.

Breaking changes

  • Plugin is now built on top of FlatList, which allows for huge performance optimizations. From now on, items must be rendered using props data and renderItem.

General

  • Add ParallaxImage component (see the specific documentation here)
  • Add prop activeSlideAlignment
  • Fix issue with autoplay when setting scrollEnabled to false
  • 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

21 Jul 11:08
Compare
Choose a tag to compare
  • Add Pagination component (see the specific documentation here)
  • Allow firstItem to be changed dynamically
  • Allow 0 value for carouselHorizontalPadding and carouselVerticalPadding (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

30 Jun 14:20
Compare
Choose a tag to compare
  • Fix issue when snap is disabled

v2.3.0

16 Jun 09:10
Compare
Choose a tag to compare

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 undefined interpolators when working with dynamic slides (thanks @cskaynar)
  • Improve vertical mode
  • Add prop scrollEndDragDebounceValue
  • Expose current scroll position with this.currentScrollPosition
  • Remove props scrollEndDragThrottleValue and snapCallbackDebounceValue (use scrollEndDragDebounceValue instead)