Download Latest Version v1.6.0.zip (2.1 MB)
Email in envelope

Get an email when there's a new version of react-native-swiper

Home / v1.6.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2020-04-03 1.1 kB
v1.6.0.tar.gz 2020-04-03 2.1 MB
v1.6.0.zip 2020-04-03 2.1 MB
Totals: 3 Items   4.2 MB 0

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)
Source: README.md, updated 2020-04-03