-
-
Notifications
You must be signed in to change notification settings - Fork 653
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
Variable Height Sortable - Inaccurate Dragging to Corresponding Position When Width is Large #1246
Comments
Hi! I recently worked through a problem similar to this on my own project, and was able to tweak your sandbox to be a bit more user-friendly. https://codesandbox.io/s/dnd-kit-sortable-issue-forked-s6p4cs?file=/src/App.tsx There are a couple of changes I made: adding an
|
Thank you so much for resolving my issue! I really appreciate your help. |
This PR has a collision detection algorithm that solved this issue for me (although my scenario was in the vertical orientation. |
When the width is large, it becomes difficult to accurately drag and drop to the desired position.
In the example below, I am unable to move the element "3" between "1" and "2".
2023-10-06.1.16.54.mov
example: https://codesandbox.io/s/dnd-kit-sortable-issue-9wk6js?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: