Skip to content

Releases: meliorence/react-native-snap-carousel

v2.2.2

11 Jun 22:16
Compare
Choose a tag to compare
  • Fix issue that prevented inactive styles of first and last items to be applied when using snapToPrev and snapToNext methods

v2.2.1

07 Jun 16:05
Compare
Choose a tag to compare
  • Do not mark sliderWidth and sliderHeight as required
  • Add warnings when properties specific to carousel's orientation haven't been set

v2.2.0

07 Jun 10:01
Compare
Choose a tag to compare
  • Implement vertical mode (prop vertical)
  • Make sure that current active item is properly updated when snapping
  • Prevent issues when 'sliderWidth' is smaller than viewport's width
  • Recalculate card positions on layout to handle rotation (thanks @andrewpope); make sure to read this note
  • Refresh card positions if slider and/or item's dimensions are updated (thanks @hoangnm)
  • Add props scrollEndDragThrottleValue and snapCallbackDebounceValue
  • Expose View's onLayout prop
  • Deprecate prop onScrollViewScroll

v2.1.4

16 May 15:07
Compare
Choose a tag to compare
  • Add prop onScrollViewScroll

v2.1.3

15 May 20:36
Compare
Choose a tag to compare
  • Default value for showsHorizontalScrollIndicator is now false
  • Expose ScrollView's onSscroll prop (thanks @radko93)

v2.1.2

15 May 20:45
Compare
Choose a tag to compare
  • Do not trigger onSnapToItem when snapping back to the same slide (thanks @rgabs)
  • Add prop carouselHorizontalPadding to override container's inner padding (thanks @skeie)

v2.1.1

05 Apr 13:39
Compare
Choose a tag to compare
  • Ensure compatibility with RN 0.43 (previous version of plugin's dependency react-addons-shallow-compare was breaking with React 16)
  • Fix issue with padding on iOS that could cause the carousel to snap back when its last item was clicked

v2.1.0

05 Apr 13:41
Compare
Choose a tag to compare
  • Add RTL support
  • Keep current active item when adding slides dynamically
  • Prevent invalid firstItem number
  • Add prop activeSlideOffset

v2.0.3

23 Mar 18:27
Compare
Choose a tag to compare
  • Prevent error when carousel has only one child (thanks @kevinvandijk !)
  • Fix issue when appending dynamic slides (the first one was ignored)
  • Fix edge case that prevented the first slide from being focused when swiping back with momentum enabled
  • Bump example's RN version to 0.42.3

v2.0.1

13 Feb 09:07
Compare
Choose a tag to compare
  • Fix un-handled exception with interpolators (thanks @chitezh !)