React Native Swiper Versions Save

The best Swiper component for React Native.

v1.6.0

4 years ago

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)

v1.6.0-dev

5 years ago
  • ViewPagerAndroid: react-native => @react-native-community/viewpager
  • add TypeScript typing of containerStyle

1.5.14

5 years ago

[1.5.14]

  • fixes #582 (Android not setting this onLayout first?) #789 (thanks @fungilation)
  • Add onScrollBegin and onTouchEnd for Android #684 (thanks @kostyaVyrodov)

1.5.13

6 years ago
  • Workaround for react-native 0.4.8 contentOffset regression #572 (thanks @nixoz)
  • Fix wrong calculation of width and height after device rotation #581 (thanks @kostyaVyrodov)
  • Calculated width & height on layout, used later on re-rendering. Possibility to change ScrollView styles #548 (thanks @germanst)

1.5.12

6 years ago
  • Update core packages
  • Optionally disable the 'next' control button (thanks @SSTPIERRE2) (#531)
  • Fix Uncaught TypeError: _this.refs.scrollView.scrollTo is not a function (thanks @flyskywhy) (#539)
  • Allow dotStyle and activeDotStyle PropTypes to accept Stylesheet (thanks @knopt) (#346)
  • Calculate the offset in the initial state instead of onLayout (thanks @kjkta) (#541)

1.5.10

6 years ago

Version 1.5.10

Fix

1.5.9

6 years ago

Quick Fix

  • Merge pull request #508 which fix issue from pull request #500.

1.5.8

6 years ago

1.5.7

6 years ago

1.5.6

6 years ago
  • Fix landscape orientation auto resize! (thanks @ahmed3mar, @timmywil)

  • Add containerStyle prop to customize the view container.