yarn react-native-reanimated-carousel 4.0.0
v4.0.0

latest releases: 4.0.2, 4.0.1
2 days ago

Major Changes

Minor Changes

  • #507 c6d58e5 Thanks @dohooo! - Support to fix the scroll direction through new API, fixedDirection.

Patch Changes

  • #687 55c55ff Thanks @dohooo! - feat: Add containerStyle prop to control the container styles.

  • d5de105 Thanks @dohooo! - Added missing dependencies for web to work

  • #507 353fdce Thanks @dohooo! - remove postinstall script.

  • #666 2982fcd Thanks @dohooo! - fix: typescript error where MeasuredDimension can be null

  • #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!)

  • #672 5fa78a7 Thanks @dohooo! - revert autoPlay changes

  • #600 d9557b2 Thanks @dohooo! - Fixed an issue where endWithSpring used outdated data from useSharedValue after onGestureEnd, causing incorrect carousel behavior on direction reversal.

  • 85f24e7 Thanks @dohooo! - Type error property push does not exist on type

  • #517 9f3a3d6 Thanks @dohooo! - Reduce the amount of work done when rendering data.

  • #496 fdeef6b Thanks @dohooo! - re-calculate when window size changed in browser.

  • #597 0d2b930 Thanks @dohooo! - Adds Pagination Component

  • #666 32c8c36 Thanks @dohooo! - Add <Pagination.Custom/> dot animation.

  • #498 096ac75 Thanks @dohooo! - re-calculate when window size changed in browser. (re-bump for alpha.3)

  • #577 17621ca Thanks @nmassey! - fix: make gesture onStart/onUpdate/onEnd (et al) callbacks run as worklets again

  • #733 3040863 Thanks @dohooo! - Add pointerEvents: ‘box-none’ to ItemLayout component to allow touches for children components outside item boundaries

  • #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.)

  • #735 848f458 Thanks @dohooo! - This PR updates the customAnimation function signature to include an index parameter, allowing users to apply custom animations based on the item’s index.

  • #648 0abdb2d Thanks @nmassey! - fix app crash when using "onProgressChange" prop as function

  • #721 2a8111e Thanks @dohooo! - fix: parallax layout with new arch enabled

  • #492 978b59f Thanks @dohooo! - feat: change the way of PanGestureHandler modification from panGestureHandlerProps to onConfigurePanGesture.

    e.g.

    <Carousel
      onConfigurePanGesture={(gestureChain) => {
        gestureChain.activeOffsetX([-10, 10]);
      }}
    />
  • #528 139d5e5 Thanks @dohooo! - Exported TAnimationStyle types.

  • #710 d98bb99 Thanks @nmassey! - fix: remove shared value access warning from react-native-reanimated

  • #510 b3cc591 Thanks @dohooo! - Support to specific direction to auto play.

  • #703 564d2f5 Thanks @dohooo! - Update homepage in package.json

  • #528 b654f43 Thanks @dohooo! - Replaced 'onScrollBegin' with 'onScrollStart' to better match gesture callback.

  • 618d90d Thanks @dohooo! - Loss of precision during arithmetic conversion

  • #576 a99f069 Thanks @nmassey! - fix: rework code to avoid possible flicker when starting pan (panOffset race condition)

  • #724 33022e6 Thanks @dohooo! - fix: next item function overscolling with overscrollEnabled is false

  • #689 f935f7a Thanks @dohooo! - Delete unnecessary peer denpendences

  • #510 b3cc591 Thanks @dohooo! - Modify the preority of windowSize settings. If you define the windowSize prop, Carousel will ignore the itemsCount. (windowSize > itemsCount)

  • #503 03dba70 Thanks @dohooo! - remove the postinstall script.

  • #560 c181174 Thanks @dohooo! - Add a new props minScrollDistancePerSwipe to set the minimum scroll instance to make carousel scroll.

  • #731 6e8cdb4 Thanks @dohooo! - improve "slow pan" behavior: if it seems that the user intent is to stay on the current page (because they didn't pan very far; maybe they started panning one direction then reversed direction, etc.), don't actually change page upon gesture completion

  • #492 c015873 Thanks @dohooo! - Fixed an issue where the enable props couldn't set to false.

Don't miss a new react-native-reanimated-carousel release

NewReleases is sending notifications on new releases.