react-native-draggable-flatlist

A drag-and-drop-enabled FlatList for React Native

MIT License

Downloads
315.3K
Stars
1.9K
Committers
34

Bot releases are hidden (Show)

react-native-draggable-flatlist - Latest Release

Published by computerjazz over 1 year ago

  • Fix missing onPlaceholderIndexChange
  • Fix missing onRelease callback when drag does not move
react-native-draggable-flatlist -

Published by computerjazz almost 2 years ago

react-native-draggable-flatlist -

Published by computerjazz over 2 years ago

  • Forward ref in NestableDraggableFlatList
react-native-draggable-flatlist -

Published by computerjazz over 2 years ago

  • Fix circular import
react-native-draggable-flatlist -

Published by computerjazz over 2 years ago

  • Support multiple DraggableFlatLists within single parent ScrollView (#373 )
react-native-draggable-flatlist -

Published by computerjazz over 2 years ago

react-native-draggable-flatlist -

Published by computerjazz almost 3 years ago

react-native-draggable-flatlist -

Published by computerjazz almost 3 years ago

react-native-draggable-flatlist -

Published by computerjazz almost 3 years ago

  • fix ref type
react-native-draggable-flatlist -

Published by computerjazz almost 3 years ago

  • 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
react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

  • Check for scrollToOffset on flatlist node before calling
  • Fix dragHitSlop prop type
react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

  • Add Reanimated v2 types
  • Remove deprecated getNode() call from refs
react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

  • Add simultaneousHandlers
  • Fix issue where state would not be correctly reset if dragging outside of list items.
react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

  • Fix web on drag up
react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

react-native-draggable-flatlist -

Published by computerjazz over 3 years ago

  • Add dependency arrays to Animated.Code, fixing issues introduced in reanimated v1.13.1
react-native-draggable-flatlist -

Published by computerjazz almost 4 years ago

react-native-draggable-flatlist -

Published by computerjazz about 4 years ago

  • Added renderPlaceholder prop
  • Added onPlaceholderIndexChange prop
  • Added dragItemOverflow prop
react-native-draggable-flatlist -

Published by computerjazz about 4 years ago

  • Fixed autoscroll being stuck when already scrolled to top/bottom
  • Fixed bug when releasing gesture without moving item
react-native-draggable-flatlist -

Published by computerjazz over 4 years ago

  • Adds fallback to ensure that items always have an index