react-dnd / react-dnd

Drag and Drop for React

Home Page:http://react-dnd.github.io/react-dnd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop animation does not respect new order

JaimeFLandbot opened this issue · comments

Describe the bug
I've taken a look to you example about how to create a sample list and how to customize the dragging element

But I've noticed a problem while working on a implementation of a generic list. The elements are ordered without any problem, but if you move the element away from the list, the drop animation, returns to the original position, not the new one.

You can notice the behaviour on this giph:

sample

Reproduction

Live Reproduction

Steps to reproduce the behavior:

1.Drag the first element
2. Move it to the end of the list
3. Keep moving the element down
4. Stop dragging

Expected behavior
I would expect the animation goes to the new position, not the original one.

This is the Default Behaviour.

Yep, that's why I opened the ticket on the first place 😅 It shouldn't be. I don't think it's the best user experience

We finally decide to go for other library.