Closed alexreardon closed 1 month ago
when can we expect the source code ?
I'll go as well, added resizing to our data preview area.
It was super smooth adding this in 🙌. I'm sure my team and I are going to be making extensive use of this library across the entire site.
Also if anyone wants to try using our mock data generator we have a playground here that's free to use (no signup needed). https://www.dataconstruct.io/organizations/playground/schemas
I have a use case for multi drag (can select several items in a list). I slapped together a POC from the list example that was provided in the docs (hold shift to select multiple). @alexreardon would love to get your thoughts on if there is a api through the library I should be leveraging or this would be the recommended approach? Also would be happy to clean this up if you guys wanted to add it to the examples in the docs.
basically the TLDR is have additional state that tracks what has been "selected" by clicking.
https://codesandbox.io/p/sandbox/dnd-multi-drag-example-jcymvd?file=%2Fexample.tsx%3A71%2C33
We will likely provide a multi-drag pattern similar to this: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/patterns/multi-drag.md
Let's move this conversation off of an issue and into a discussion :)
https://github.com/atlassian/pragmatic-drag-and-drop/discussions/categories/show-and-tell
We would love to see what you create with Pragmatic drag and drop. Please feel free to post a screen recording of your experience in this issue ✨