Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in drag and drop #58

Closed
gazedash opened this issue Mar 21, 2019 · 5 comments
Closed

Bug in drag and drop #58

gazedash opened this issue Mar 21, 2019 · 5 comments

Comments

@gazedash
Copy link

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

@gazedash
Copy link
Author

I think it might be related to facebook/react-native#16895
So how do we fix it? Maybe there is a way to disable easeInEaseOut?

@agnieszkabugla
Copy link

agnieszkabugla commented Mar 25, 2019

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

@gazedash
Copy link
Author

But I don’t have a scroll view. I have just this component

@CapitanRedBeard
Copy link

@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

@computerjazz
Copy link
Owner

please try v2 and reopen if still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants