react-dnd
react-dnd copied to clipboard
Moving Columns Example
Is there any chance I could humbly request an example in the documentation for when you move a card between two columns. There are comments alluding to it in the docs like this line:
Do this if the original component may be unmounted during the dragging and later “resurrected” with a different parent. For example, when moving a card across the lists in a Kanban board,
But I can't for the life of me figure out how to drop it like its hot where i need it and remove it from whence it came.
I had to do it manually for reactware library, you can take a look at the example to get an idea as to what I did, but i'd recommend to use something like react-beatufull-dnd if you just want lists.
Bumping this. I love the flexibility of React DND (e.g. more than just moving items in a list!), but it would be nice if we could get a little more insight into a dynamic, multi-column drag and drop scenario.
Currently tinkering with this, but it's not immediately apparent to me how, or if, this is even possible without creating more issues than it solves. Love this package, just looking for a bit more insight into a very common use-case.
Any updates on this topic? This is a really nice project, but the documentation is missing some examples.