- Fix un-handled exception with interpolators (thanks )@chitezh !)
- Items are now direct children of the component, which makes it easier to use (thanks @Jonarod !)
- Props
items
andrenderItem
have been removed
- Due to some touch events being buggy, rework methods so the children will receive touch events on Android
- 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 ofPropTypes.number
in styles validation (thanks @pesakitan22 !)
- Items length can now be changed on-the-fly (thanks @superical !)
- Now handling momentum (thanks @FakeYou !)
- Better update strategy with shallowCompare
- Add
snapToNext()
,snapToPrev()
,currentIndex
methods and properties
- Properly center on first item when mounting component on Android (potentially iOS too)
- Pass the item data as the 2nd param of onSnapToItem callback
- Fix reference call when the component has been unmounted
- Add onSnapToItem prop
- Center slides properly
- Handle one slide only
- Add props 'inactiveSlideScale', 'inactiveSlideOpacity', 'containerCustomStyle' and 'contentContainerCustomStyle'