Closed guatedude2 closed 3 years ago
Thank you for bringing this cool improvement and also for the clean code!
This was published in v1.0.0. However, I had to revert it in v1.0.1. because I found a bug while integrating it on our website: it doesn't work if the container is not at the top-left of the window. You can see it on Storybook if you open the "docs" version.
Do you think you could have a look to have this fixed?
See :
Ah ok I’ll resubmit with the fix
Ok this PR should fix that https://github.com/ricardo-ch/react-easy-sort/pull/13
This PR adds offset to items when dragging so dragging appears seamless. This helps mitigate the issue when dragging an item, the item would center to the cursor and causing bad UX.
Related issues: