React-beautiful-dnd: not able to drop in all droppable container in nested draggable hiearchy,

Created on 18 Apr 2018  路  5Comments  路  Source: atlassian/react-beautiful-dnd

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

Most helpful comment

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

All 5 comments

sorry accidentally closed it

Help still needed

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

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.?

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

heymartinadams picture heymartinadams  路  3Comments

ibash picture ibash  路  3Comments

FutureKode picture FutureKode  路  3Comments

WJKwok picture WJKwok  路  3Comments

shalkam picture shalkam  路  3Comments