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

Drag doesn't work anymore

Open MCorbalanF opened this issue 8 months ago • 6 comments

Describe the bug Doesn't drag the items inside the flatlist, even in the example doesn't work anymore

To Reproduce

example snack is broken https://snack.expo.dev/@computerjazz/draggable-flatlist-examples

MCorbalanF avatar May 24 '25 20:05 MCorbalanF

Experiencing this also.

andrewhamili avatar Jun 11 '25 15:06 andrewhamili

Not sure if it's the same issue, but dragging broke for me after updating react-native-gesture-handler. 2.15.0 works, but 2.16.0+ doesn't

vpzomtrrfrt avatar Jul 03 '25 21:07 vpzomtrrfrt

I'm also only seeing it break on the web, android and ios are still fine

vpzomtrrfrt avatar Jul 03 '25 23:07 vpzomtrrfrt

Just trying to integrate this into my app, totally doesn't work. Is this still maintained @computerjazz ?

Keltin42 avatar Jul 14 '25 18:07 Keltin42

same here, drag does not work on android 13 or 14, any hints or other threads on this ?

KoolP avatar Aug 27 '25 07:08 KoolP

I decided to build the drag-and-drop myself using Reanimated 4.

At first, reading the code from this library made it seem quite complicated, but I managed to get a fully working example on iOS, Android, and Web in under 170 lines of code.

Here’s a gist you can copy and paste into your project: https://gist.github.com/Daavidaviid/32a06e47cde1eae50bad5b5677e9dbc8

You can adapt it to your use case, or leave a comment if you spot an issue so I can improve it.
(I thought creating a gist made more sense than publishing a library in this case.)

Daavidaviid avatar Aug 30 '25 15:08 Daavidaviid