Skip to content

v1.6.0

Latest
Compare
Choose a tag to compare
@ArrayZoneYour ArrayZoneYour released this 09 Jul 08:22
· 6 commits to master since this release
2cde488

Installation

npm i --save react-native-swiper@next

Breaking Changes 💥

android swiper container style props name change: style => containerStyle

📚Completed Work

Dependency

  • Remove ViewPagerAndroid, use ScrollView #1009 (remember to clean the old node_modules)

TypeScript

  • correct the wrong types #1000
  • Add missing scrollBy TypeScript definition #931
  • SwiperProps extends ScrollView base type (✨v1.6.0-rc.3)

New Feature

  • add scrollTo #831
  • Added prop to disable the PrevButton #749
  • Optionally render page #1004

Bug Fix

  • ES6 and CommonJS compatibility #717
  • Solves the issue of state messing up when parent component calls setState #939
  • replay when autoplay is setted to true #1002
  • rename unsafe lifecycles
  • fix broken examples and migrate to react-native 0.60.x
  • fix bad jumping on ios when loadMinimal set true
  • fix fliker when loop and loadMinimal are enabled #1062
  • invoke onMomentumScrollEnd even offset no diff (✨v1.6.0-rc.3)