minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drag multiple nodes

piszczu4 opened this issue · comments

I noticed that even when we select multiple nodes, then during the dragging only 'clicked' node is dragged to the destination node. Are there plans to support dragging of multiple nodes?

@piszczu4

It is not provided as a library feature.
This is because the dependent library (react-dnd) does not support drag-and-drop operation of multiple nodes.

Therefore, it is necessary to create a pseudo function in the application implementation. Please refer to the following sample.

https://minop1205.github.io/react-dnd-treeview/?path=/docs/advanced-examples-multiple-drag--multiple-drag-story