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

Grouped Draggables With Hidden Rows When Dragging #1533

Open
hicksoft opened this issue Nov 20, 2024 · 0 comments
Open

Grouped Draggables With Hidden Rows When Dragging #1533

hicksoft opened this issue Nov 20, 2024 · 0 comments

Comments

@hicksoft
Copy link

I have rows set up in groups, sort of like a parent-child relationship. When dragging a group, I want to hide all of the children so that only the parents are visible for sorting.

When hiding the children, dnd-kit is unable to accurately track the mouse with the dragged item becoming separated from my cursor. How can I get the dragged item to align with the cursor?

CodeSandbox here https://codesandbox.io/p/sandbox/rx9mxt
You can see the issue when trying to drag Group B or Group C

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