New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have an example in the docs that illustrates dragging multiple elements. #590
Comments
If this is something worth doing, I would love to write the example and submit a PR. |
@nikhilbaradwaj If you have a working example of selecting multiple elements for drag n drop, can you please share it? |
@nikhilbaradwaj That would be amazing |
@nikhilbaradwaj, Yeah, we would appreciate it |
@pavel06081991 @dangreenisrael @ishantoberoi @GreGGus Sorry for the late response. The code example for multi-select drag and drop is here - https://github.com/nikhilbaradwaj/ReactMultiDnD You can test the app here - https://nikhilbaradwaj.github.io/ReactMultiDnD/ |
@nikhilbaradwaj Thank You. |
If anyone's interested, I implemented a multiple drag / grid view: https://codesandbox.io/s/9j897k0mwy. This is still a demo, but I might package it in a component later. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any progress on this? :D |
In case anyone is looking for an example using the new API. Here is my current solution with You can try the live demo here. I also implemented @nikhilbaradwaj's solution using new APIs and react hooks, you can check out the codesandbox here. |
@melvynhills you are so great! |
i think this is old but is there documentation where this can be implemented in newer version of react-dnd or using functional component? thanks. |
While the thread #14 started by @gaearon might not be implemented anytime soon, I feel like a workaround approach can be illustrated in the docs if someone wants to use react-dnd for dragging multiple elements.
The text was updated successfully, but these errors were encountered: