react-native-draggable-flatlist icon indicating copy to clipboard operation
react-native-draggable-flatlist copied to clipboard

Items in the list start disappearing on ios on dragging them

Open AyishmA opened this issue 1 year ago • 2 comments

Items in the list start disappearing on ios on dragging them.

To Reproduce long press the item start dragging, the item will disappear other items will also disappear due to drag Platform & Dependencies

  • react-native-draggable-flatlist version:4.0.1
  • Platform:ios
  • React Native or Expo version: react-native 0.724
  • Reanimated version: 3.4.2
  • React Native Gesture Handler version: 2.12.2

AyishmA avatar Aug 31 '23 11:08 AyishmA

any soultion regarding this?

jianxinzhoutiti avatar Sep 20 '23 00:09 jianxinzhoutiti

I also had this problem on Android. When I moved an item, several items disappeared from the list. I solved this problem by modifying keyExtractor. I used just item.id. After adding the index, the problem was solved.

keyExtractor={(item, index) => item.id + " " + index}

bond-it avatar Nov 02 '23 10:11 bond-it