React-native-draggable-flatlist: Bug in drag and drop

Created on 21 Mar 2019  路  5Comments  路  Source: computerjazz/react-native-draggable-flatlist

See the video http://cl.ly/a62d4f793685/Kapture%202019-03-21%20at%2015.28.13.mp4

It is pretty hard to reproduce, but it happens sometimes. Don't know what is causing it though

If not for this bug, this library would be amazing!

Platform: iOS

Most helpful comment

@gazedash Did you ever find a complete fix for this? Seeing the exact same thing with the draggable list NOT in a scrollview.

I tried commenting out this line to avoid any easing problems which seems to help a little but elements still go invisible when moving them around (I think them going invisible just means onMove they fly off the screen. Also onMoveEnd seems to never drop them in the correct spot initially, they're always off a 10ish pixels then jump to the right spot

All 5 comments

I think it might be related to https://github.com/facebook/react-native/issues/16895
So how do we fix it? Maybe there is a way to disable easeInEaseOut?

I had the same problem because the most parent component of DraggableFlatList was Scrollview. I changed it to View and now it doesn't behave like that.
See issue #15

But I don鈥檛 have a scroll view. I have just this component

@gazedash Did you ever find a complete fix for this? Seeing the exact same thing with the draggable list NOT in a scrollview.

I tried commenting out this line to avoid any easing problems which seems to help a little but elements still go invisible when moving them around (I think them going invisible just means onMove they fly off the screen. Also onMoveEnd seems to never drop them in the correct spot initially, they're always off a 10ish pixels then jump to the right spot

please try v2 and reopen if still an issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

soumyamishra89 picture soumyamishra89  路  10Comments

ButuzGOL picture ButuzGOL  路  8Comments

esthor picture esthor  路  6Comments

mik-rom picture mik-rom  路  8Comments

ymohdriz picture ymohdriz  路  7Comments