-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Unexpected behavior for drag between line #417
Comments
It looks like the same behavior can occur with dragging over items, not just the drag between line. |
+1, I feel removing the drag line is a better indicator to the user that a drop will fail, rather than adjusting the |
Adding to this, if I drag an element over another element and then decide I don't want to actually drop it there, the element I was dragging over remains selected as the place to drop. 2024-11-11.11-47-17.mp4This is particularly undesirable. |
Hi, thanks for the report! I pushed a new release 2.4.6 which hopefully solves the issues you described. Let me know if that worked for you. |
Hi @lukasbach looks great - I've been testing for several days now and can confirm all of the issues seem to be resolved. Thank you! |
Describe the bug
The drag line doesn't disappear if the user's cursor leaves the dragline area.
To Reproduce
https://rct.lukasbach.com/docs/guides/drag-and-drop#only-reordering-of-items-allowed
Can be reproduced here.
You can also reproduce this (more significantly) when moving the cursor to the top or bottom of the tree, and then outside.
Expected behavior
The drag between line should only appear if the user's cursor is in a valid position to drop between items.
The text was updated successfully, but these errors were encountered: