Skip to content

Latest commit

 

History

History
136 lines (73 loc) · 6.26 KB

CHANGELOG.md

File metadata and controls

136 lines (73 loc) · 6.26 KB

0.11.0 (2025-01-27)

Features

  • add onIndexChange event (5ea588b)

0.10.0 (2025-01-26)

Bug Fixes

Features

  • add autoscrollThresholdOffset prop (0d2a889)
  • support all view style animations for cell (f019ab1)

BREAKING CHANGES

  • The scale style animation is now part of the transform property. The default scale animation can be disabled by overriding transform. Similarly, the default opacity animation can be disabled by overriding its value, instead of setting it to false. cellAnimations properties can be either a value or shared value.

0.9.0 (2025-01-19)

Features

  • add panEnabled and panActivateAfterLongPress (47803d2)
  • add useIsActive hook (6e45ada)

0.8.0 (2025-01-16)

Features

  • bump peer dependency RNGH (64dcbad)
  • improve performance and add new props (05626ef), closes #18
  • support animated scroll handlers (e40dfae), closes #21

BREAKING CHANGES

  • updated peer dependency requirement for react-native-gesture-handler to a minimum of 2.12.0
  • onScroll event handlers of ReorderableList and ScrollViewContainer now require animated scroll handlers. For this api to work Reanimated minimum version is bumped to 3.12.0.
  • items are optimized by reducing shared values in the parent cells and reducing the animated styles. ReorderableListItem animations have moved to the cell itself and are attached to the active cell only. A new prop cellAnimations and onDragStart were added to allow customizing opacity and scale, while ReorderableListItem is removed from the api.

0.7.1 (2025-01-15)

Bug Fixes

  • android: slow autoscroll with fabric (0f0f3e4)
  • reading shared value during render (ac43fad), closes #20

0.7.0 (2024-12-15)

Features

0.6.1 (2024-12-12)

Bug Fixes

  • use a more stable drag end handling (1035e08)

0.6.0 (2024-12-12)

Bug Fixes

  • drag end not triggered if pressed only (45a689e), closes #14

Features

  • add drag end event to root list (d7c19ed), closes #10

0.5.1 (2024-12-09)

Bug Fixes

  • drag end hook not called (bffbe0b), closes #13
  • unstable cell causing remounts (62145dd)

0.5.0 (2024-10-01)

Features

  • refactor and introduce new api (cffcd7e)

0.4.0 (2022-05-01)

Changed

  • Fixed autoscroll not working on iOS
  • Fixed problems when rendering big lists due to cell onLayout not called
  • Omitted unsupported numColumns from props

0.3.0 (2021-12-05)

Added

  • Reorderable list component with draggable items
  • Property isDragged provided to renderItem in order to identify a dragged item
  • Function drag provided to renderItem in order to enable a drag gesture
  • Prop onReorder called on list reorder
  • Autoscroll when dragging an item to the extremeties of the list, based on scrollAreaSize and scrollSpeed props
  • Item scale animation on drag start and drag end, based on dragScale prop
  • Items animation when moving a dragged item
  • Animation to position a dragged item on release