Skip to content

Commit ea24618

Browse files
author
bd-arc
committed
refactor(package): bump to 3.2.2, update changelog and doc
1 parent 9812a01 commit ea24618

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v3.2.2
2+
* Fix RTL issues
3+
* Fix issue with active item when `enableMomentum` was set to `true`
4+
* Fix issue with overlapping items (thanks [@henninghall](https://github.com/henninghall))
5+
* `ParallaxImage` component: allow overriding default styles
6+
* `Pagination` component: adapt to RTL layouts
7+
18
## v3.2.1
29
* Fix issue with active item when no callback has been specified (introduced in version `3.2.0`)
310

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Swiper component for React Native featuring **previews**, **snapping effect**, *
2727

2828
### Archriss' "Ville d'Aix-en-Provence" app
2929

30-
**This app is available on [Android](https://play.google.com/store/apps/details?id=fr.archriss.aixmobile.app) and [iOS](https://itunes.apple.com/fr/app/ville-daix-en-provence/id494548366?mt=8). It uses **version 3.2.0** of the plugin, with `FlatList`'s implementation and [parallax images](#parallaximage-component).
30+
**This app is available on [Android](https://play.google.com/store/apps/details?id=fr.archriss.aixmobile.app) and [iOS](https://itunes.apple.com/fr/app/ville-daix-en-provence/id494548366?mt=8).** It uses **version 3.2.0** of the plugin, with `FlatList`'s implementation and [parallax images](#parallaximage-component).
3131

3232
![react-native-snap-carousel archriss aix](http://i.imgur.com/pPm0csc.gif)
3333
![react-native-snap-carousel archriss aix](http://i.imgur.com/UFsPlz2.gif)
@@ -462,9 +462,9 @@ The easiest workaround is to add `jest.unmock('ScrollView')` before importing th
462462
463463
### RTL support (experimental)
464464
465-
Since version 2.1.0, the plugin is compatible with RTL layouts. Our implementation relies on miscellaneous hacks that work around a [React Native bug](https://github.com/facebook/react-native/issues/11960) with horizontal `ScrollView`.
465+
Since version 2.1.0, the plugin is compatible with RTL layouts. Our implementation relies on miscellaneous hacks that work around a [React Native bug](https://github.com/facebook/react-native/issues/11960) with horizontal `ScrollView`. As such, this feature should be considered experimental since it might break with newer versions of React Native.
466466
467-
As such, this feature should be considered experimental since it might break with newer versions of React Native.
467+
Note that you may want to reverse the order of your data array for your items to be displayed in the proper RTL order. We've tried implementing it internally, but this led to numerous and unnecessary issues. You'll just have to do something as simple as `myCustomData.reverse()`.
468468
469469
## TODO
470470

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-snap-carousel",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "Swiper component for React Native with previews, snapping effect, parallax images, performant handling of huge numbers of items, and RTL support. Compatible with Android & iOS.",
55
"main": "src/index.js",
66
"repository": {

0 commit comments

Comments
 (0)