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

Sorting doesn't stay at it's position or moves somewhere else #1424

Closed
arjendevos opened this issue Jun 4, 2024 · 1 comment
Closed

Sorting doesn't stay at it's position or moves somewhere else #1424

arjendevos opened this issue Jun 4, 2024 · 1 comment

Comments

@arjendevos
Copy link

I had an issue that when i dragged i saw where it would go, but the moment i let go, it went to a position under that. This prevented me from going over the edges (dropping at first or last).

However when creating an example everything stopped working.

https://codesandbox.io/p/sandbox/great-glitter-24dq4p?file=%2Fsrc%2FApp.tsx%3A88%2C25

I followed the example that's on the website.

@arjendevos
Copy link
Author

Update: my arrayMove function is causing this, replaced it with the arrayMove function from @dnd-kit

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

No branches or pull requests

1 participant