-
#687
55c55ff
Thanks @dohooo! - feat: Add containerStyle prop to control the container styles. -
#689
f935f7a
Thanks @dohooo! - Delete unnecessary peer denpendences
- #677
00c948b
Thanks @nmassey! - fix Pagination.Basic and Pagination.Custom usage of TouchableWithoutFeedback. This fixes press event handler not working correctly. (Thanks to @qwertychouskie for reporting!)
-
#629
80ec737
Thanks @nickoelsner! - fix: typescript error where MeasuredDimension can be null -
#652
2916a26
Thanks @bdtren! - Add <Pagination.Custom/> dot animation. -
#577
17621ca
Thanks @nmassey! - fix: make gesture onStart/onUpdate/onEnd (et al) callbacks run as worklets again -
#648
0abdb2d
Thanks @nmassey! - fix app crash when using "onProgressChange" prop as function -
#576
a99f069
Thanks @nmassey! - fix: rework code to avoid possible flicker when starting pan (panOffset race condition)
- #574
86da6ac
Thanks @nmassey! - Fixed an issue where endWithSpring used outdated data from useSharedValue after onGestureEnd, causing incorrect carousel behavior on direction reversal.
- #560
c181174
Thanks @dohooo! - Add a new propsminScrollDistancePerSwipe
to set the minimum scroll instance to make carousel scroll.
-
#528
139d5e5
Thanks @dohooo! - Exported TAnimationStyle types. -
#528
b654f43
Thanks @dohooo! - Replaced 'onScrollBegin' with 'onScrollStart' to better match gesture callback.
-
#510
b3cc591
Thanks @dohooo! - Support to specific direction to auto play. -
#510
b3cc591
Thanks @dohooo! - Modify the preority of windowSize settings. If you define the windowSize prop, Carousel will ignore the itemsCount. (windowSize > itemsCount)
- #498
096ac75
Thanks @dohooo! - re-calculate when window size changed in browser. (re-bump for alpha.3)
- #494
6b849ec
Thanks @dohooo! - Removed the reset logic when user change the defaultIndex prop. (We couldn't update the handlerOffset value when user change the defaultIndex. Because the carousel component already be a non-controlled component. So the subsequent changes of defaultIndex will be ignored.)
-
#492
978b59f
Thanks @dohooo! - feat: change the way of PanGestureHandler modification from panGestureHandlerProps to onConfigurePanGesture.e.g.
<Carousel onConfigurePanGesture={(gestureChain) => { gestureChain.activeOffsetX([-10, 10]); }} />
-
#492
c015873
Thanks @dohooo! - Fixed an issue where the enable props couldn't set to false.
-
56e20c8: feat: use new RNGH api
Updates
react-native-gesture-handler
to>=2.9.0
and replaces usage ofuseAnimatedGestureHandler
with the new gesture handler API which supports the new gesture handler web implementation.
- 870b130: Fixed ref unsable issue.
- c117a3a: Reducing default seetings for Android. (gestureHandlerRootHOC)
- 8ea24ca: Added
maxScrollDistancePerSwipe
props.
- 0237ae8: Solved the crush issue.
- b09fb81: chore: only push the lib to npm.
- 677b37b: 🚀 Support to test.
- 01184e9: 🚀 Add new props
overscrollEnabled
to support scrolling management.