react-native-elements / react-native-elements-universe

MIT License
9 stars 6 forks source link

Proposal for Draggable ListItem #7

Open arpitBhalla opened 3 years ago

arpitBhalla commented 3 years ago

Is your feature request related to a problem? Please Describe. A drag-and-drop FlatList component for React Native.

Describe the solution you'd like Can be implemented using gesture handler & reanimated

Describe alternatives you've considered https://www.npmjs.com/package/react-native-draggable-flatlist

Additional context

@pranshuchittora @flyingcircle @hetanthakkar1 @khushal87 @HariAcidReign Please Provide FeedBack

khushal87 commented 3 years ago

I have personally used two of the drag and drop packages including the one mentioned above and https://www.npmjs.com/package/react-native-draggable-dynamic-flatlist in one of my projects. The problem we face here is that, when we put the drag elements inside a scroll view, for example, the parent scroll is taken up, and therefore there is unexpected behavior. Therefore, if we can fix this issue here it would be a good addition. I can explain what I mean by a video but that can't be shared here as the project is private. Also, the above repositories are not maintained anymore. The above stated problem is mainly in IOS devices

arpitBhalla commented 3 years ago

@khushal87 I will try my best to resolve this, Thanks for your opinion 😄