Skip to content

Releases: computerjazz/react-native-draggable-flatlist

v3.0.2

17 Nov 20:14

Choose a tag to compare

  • fix ref type

v3.0.0

13 Nov 19:14

Choose a tag to compare

  • Move logic from a single huge class component into several smaller, more maintainable components and hooks
  • Add "cell decorators" to provide an easy way to add common hover animations -- for example, wrapping renderItem in a <ScaleDecorator> component will automatically scale the active item (see above gif). Added scale, shadow, and opacity decorators, and developers may create their own custom decorators via useOnCellActiveAnimation hook.
  • Remove onRef prop in favor of forwardRef
  • Remove layoutInvalidationKey: we no longer need to force re-measurement, each cell now automatically re-measures on layout
  • Translate actual component instead of copy. Allows us to maintain state during drag. The following behavior would not have been possible before, since the swiped state would have been lost in the copy:
    rndfl-samecell

v2.6.2

13 May 23:53

Choose a tag to compare

  • Check for scrollToOffset on flatlist node before calling
  • Fix dragHitSlop prop type

v2.6.0

12 Apr 16:46

Choose a tag to compare

  • Add Reanimated v2 types
  • Remove deprecated getNode() call from refs

v2.5.5

12 Apr 16:30

Choose a tag to compare

  • Add simultaneousHandlers
  • Fix issue where state would not be correctly reset if dragging outside of list items.

v2.5.4

12 Apr 16:30

Choose a tag to compare

  • Fix web on drag up

v2.5.3

24 Jan 06:00

Choose a tag to compare

  • Adds containerStyle
  • Fixes issue when using onPressIn (#214)

v2.5.2

22 Jan 04:20

Choose a tag to compare

  • Add dependency arrays to Animated.Code, fixing issues introduced in reanimated v1.13.1

v2.5.0

26 Nov 20:07

Choose a tag to compare

  • Added dragHitSlop prop to allow for finer-grained control with nested scrollables fcaa9d4

v2.4.0

03 Sep 00:22

Choose a tag to compare

  • Added renderPlaceholder prop
  • Added onPlaceholderIndexChange prop
  • Added dragItemOverflow prop