Releases: meliorence/react-native-snap-carousel
Releases · meliorence/react-native-snap-carousel
v2.0.0
Breaking changes
- Items are now direct children of the component, which makes it easier to use (thanks @Jonarod !)
- Props
items
and renderItem
have been removed
General
- Set
enableMomentum
's default value to false
v1.6.1
- Due to some touch events being buggy, rework methods so the children will receive touch events on Android.
v1.6.0
- Add
enableMomentum
prop
- Fix an infinite-loop on iOS with momentum enabled
- Fix the snapping effect when releasing touch without interia on iOS with momentum enabled
- Fix autoplay on Android, it should start and stop properly and stop being triggered while swiping
- Use
View.propTypes.style
instead of PropTypes.number
in styles validation (thanks @pesakitan22 !)
v1.5.0
- Items length can now be changed on-the-fly (thanks @superical !)
- Now handling momentum (thanks @FakeYou !)
v1.4.0
- Better update strategy with shallowCompare
- snapToNext(), snapToPrev(), currentIndex
- yarn and stuff
v1.3.1
- properly center on first item when mounting component on Android (potentially iOS too)
v1.2.1
- Fix reference call when the component has been unmounted
v1.1.0
- center slides properly
- handle one slide only
- add props 'inactiveSlideScale', 'inactiveSlideOpacity', 'containerCustomStyle' and 'contentContainerCustomStyle'