Releases: computerjazz/react-native-draggable-flatlist
Releases · computerjazz/react-native-draggable-flatlist
v3.0.2
- fix ref type
v3.0.0
- 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
renderItemin 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 viauseOnCellActiveAnimationhook. - Remove
onRefprop in favor offorwardRef - 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:

v2.6.2
- Check for
scrollToOffseton flatlist node before calling - Fix
dragHitSlopprop type
v2.6.0
- Add Reanimated v2 types
- Remove deprecated
getNode()call from refs
v2.5.5
- Add
simultaneousHandlers - Fix issue where state would not be correctly reset if dragging outside of list items.
v2.5.4
- Fix web on drag up
v2.5.3
v2.5.2
- Add dependency arrays to
Animated.Code, fixing issues introduced inreanimatedv1.13.1
v2.5.0
v2.4.0
- Added
renderPlaceholderprop - Added
onPlaceholderIndexChangeprop - Added
dragItemOverflowprop