lukasbach / react-complex-tree

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

Dragging folder into a descendant folder causes both of them to disappear #227

Closed MarksCode closed 1 year ago

MarksCode commented 1 year ago

Looks like there's a bug if you drop a folder onto a child folder, both of them will disappear.

Originally posted by @MarksCode in https://github.com/lukasbach/react-complex-tree/issues/219#issuecomment-1444798211

lukasbach commented 1 year ago

Ops, should be fixed as of 2.1.1!

JongSikLim commented 1 year ago

I used canDropAt to prevent this bug, and I'm glad to hear it's fixed.