3

I'm creating a sortable tree view with 'react-beautiful-dnd' (because react-sortable-tree is broken with react@17+)

the storybook in doc site has implemented a nested list

https://react-beautiful-dnd.netlify.app/?path=/story/complex-vertical-list--nested-vertical-lists

but it can not drag an item from "second level" to "top level" (making a child become a sibling of its parent)

I have tried to make all <Droppable /> with the same type, but it doesn't work well

Littlee
  • 3,791
  • 6
  • 29
  • 61

0 Answers0