frontend-collective / frontend-collective/react-sortable-tree
Using SortableTreeWithoutDndContext does not work
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description

There are two DnDs in a page.
One for the RST with external nodes, and the other for the tab swapping.
We place `` in top level component and
use **SortableTreeWithoutDndContext** in child component
to avoid [two HTML backends issue](https://github.com/react-dnd/react-dnd/issues/186).
It seems the RST renders nothing or returns null as the **dragDropManager** is undefined.
https://github.com/frontend-collective/react-sortable-tree/blob/2a5f741d0bc965b47a8ea6764e98a13aa3e51544/src/react-sortable-tree.js#L941-L949
Is there a workaround to deal with this issue?
Thank You.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.