Closed stouch closed 7 years ago
+1
@stouch Have you used this solution in production? If yes, PR-worthy?
@stouch I think it is more user friendly to clump all the selected items into a contiguous block, then drag this around ? I can't think of a use case where a user would select a disjointed group, then expect to move that group around, maintaining the disjointedness. I'm imaginging at onMoveStart to cause them to all clump together, so that if you immediately released the drag, they would have new positions in a single block. (my apologies... this is much harder to describe than to visualize...)
@furiousOyster I agree. I'm going to close this issue down as I don't think it has to do with multiple item sorting so much as being able to pass a custom sortable helper renderer. Moving the discussion over to #169
I would really love this! Does anyone have any updates on that? Thanks!
So it it possible to select and move a contiguous block of elements?
@stevenfabre @ssilve1989 On a related issue, @mixa9269 has it working: https://github.com/clauderic/react-sortable-hoc/pull/138#issuecomment-320627060
Hi,
It would be very cool if it was possible to move a list of several items (whatever their positions in the list) at a given position of the list (at sort end, items would be ordered depending on their previous relative positions in the list).
I started something but I think you could do much better.
Thank you :)
USAGE :