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

Drag from parent to child or vice-versa?

Open thewebsitedev opened this issue 6 years ago • 9 comments

Hi there,

Is it possible to drag element from parent to child and from child to parent?

For example: Moving container 1 elements to container 2 or container 3 or container 4 in nested.

thewebsitedev avatar Jun 28 '18 19:06 thewebsitedev

Hi @thewebsitedev That behavior is not fully supported right now. Its in my todo list though. I will update here when it's done. Cheers!

kutlugsahin avatar Jun 29 '18 08:06 kutlugsahin

May be add a todo label rather than closing? :)

thewebsitedev avatar Jun 29 '18 08:06 thewebsitedev

make sense

kutlugsahin avatar Jun 29 '18 08:06 kutlugsahin

Heya,

Curious if there's an ETA on this feature, or possibly a tip on how we might hack it ourselves (in case it's partially supported) 😊 ?

Thanks!

ivanaszuber avatar Sep 30 '18 06:09 ivanaszuber

Is this feature yet implemented?

entiendoNull avatar Mar 22 '19 09:03 entiendoNull

Hey all, There has been improvements on this issue. It should be possible to do that now. Well it's not well tested yet, see if it's working for you and otherwise raise an issue. Cheers!

kutlugsahin avatar Mar 22 '19 10:03 kutlugsahin

Hey! Is this feature documented? I need this in my application. Thanks!

pravinharigaikwad avatar Apr 01 '19 11:04 pravinharigaikwad

Just nest your containers and use same groupName for them and give it a try.

kutlugsahin avatar Apr 01 '19 12:04 kutlugsahin

@kutlugsahin Hi! Thanks for the great lib! I faced a positioning bug when dragging elements from chald container to parent: 20201008-154339

Here is the source code: https://codesandbox.io/s/rsd-nested-bug-demo-3gfxq Am I doing something wrong?

olegcherr avatar Oct 08 '20 12:10 olegcherr