minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.
MIT License
516 stars 69 forks source link

Cannot isolate multiple trees + bug with placeholder #211

Open desire opened 10 months ago

desire commented 10 months ago

For my UI I require two trees. One for "Inflow" and one for "Outflow".

Upon building this I see I am able to drag from one tree to another. I do not want this behaviour: Instead I want to be able to ignore it if it has been dragged onto the other tree.

Additionally I am seeing there is an issue where the placeholder shows up on both trees.

https://github.com/minop1205/react-dnd-treeview/assets/110999567/bb9f22d6-c021-41d2-88a1-6b652bd1c565

minop1205 commented 10 months ago

@desire Independence of multiple trees will not work at this time. Also, the placeholder bug has not yet been remedied at this time.

In both cases, we have tried to fix them in the past, but it was not possible to do so immediately due to the need to redesign some parts of the system. We will try to fix them again at a later date, but it is unlikely that we will be able to begin immediately.