react-beautiful-dnd icon indicating copy to clipboard operation
react-beautiful-dnd copied to clipboard

not able to drop in all droppable container in nested draggable hiearchy,

Open gogoku opened this issue 8 years ago • 5 comments

Hey,

I have created a nested draggable hiearchy, this is where i have reached so far

Code Sandbox link for example

I want to move each section into any place in the Container

But right now i am only able to drag a section and drop it within its enclosing Droppable area I tried giving same type for both Draggable and Droppable , but that ends up making all sections move randomly

Need help on this , Thanks

gogoku avatar Apr 18 '18 07:04 gogoku

sorry accidentally closed it

Help still needed

gogoku avatar Apr 18 '18 07:04 gogoku

We currently do not support a draggable moving into a nested item. You can only rearrange in flat structures at this stage

alexreardon avatar Apr 19 '18 04:04 alexreardon

Problem with implementing a flat structure is i will not know the hierarchy when i drop a dragged item

I am aiming to build something like this http://tamagokun.github.io/example-react-dnd-nested/

Any idea on how i can achieve this.?

gogoku avatar Apr 19 '18 06:04 gogoku

hierarchy should be supported, there are many use cases for it... is there any specific reason for not supporting it? any issue you see as big problem?

I can dive into the code maybe but if you decded not to do it maybe there is a good reason

bridgewaterlabs avatar May 15 '18 11:05 bridgewaterlabs

Any chance at revisiting this? I'd like to be able to go multiple levels deep

stevegula avatar Jan 13 '19 22:01 stevegula