Releases: leecade/react-native-swiper
Releases · leecade/react-native-swiper
v1.6.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
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
- ViewPagerAndroid: react-native => @react-native-community/viewpager
- add TypeScript typing of containerStyle
1.5.14
[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
- 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
- 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)
Fix index prop on iOS
Version 1.5.10
Fix
- index prop on iOS thanks to @AtticusFetch (#516)
- fix android issue with dynamically added children, thanks to @AtticusFetch and @basvdheijden (#514)
Fix issue from #500
Fix issues of previous release
Merge pull request #500 from leecade/updateExample Update examples