lukasbach / react-complex-tree

Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop
https://rct.lukasbach.com
MIT License
944 stars 74 forks source link

Fix drag-drop position not updating #249

Closed Ron-Deepdub closed 1 year ago

Ron-Deepdub commented 1 year ago

Right now if you drag an item on top of the folder above it, then drag it back to its initial position, the folder above will stay highlighted and if you drop the item it will get put into that folder even though you're no longer hovering above it. This can be seen here: https://rct.lukasbach.com/storybook/?path=/story/core-drag-and-drop-configurability--no-reordering-allowed.

https://user-images.githubusercontent.com/122892706/230478615-eabf97a8-0f2b-4416-91b4-cdf7e1db88b3.mov

Ron-Deepdub commented 1 year ago

@lukasbach I don't see that I'm able to add reviewers or assign anyone. Tagging you here.

lukasbach commented 1 year ago

Thank you for your contribution!