Drag multiple items together #2134
Unanswered
SimonKlemp
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Doesn't the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I am new to Sortable and am currently stuck. I am trying to move two items together when dragging only one item, e.g. when I have two lists
A 1
B 2
C 3
D 4
And I would drag A -> C, is it possible to link the element A and 2, so that 2 would end up at the position of 4?. That means that A and 2 would "travel" the same distance. So if A starts at (0,0) and 2 at (100,100) and the mouse moves 100px in x and 200px in y direction, then A would be at (100,200) and 2 at (200,300), so they are "linked" and behave as if both were clicked.
I hope that is somewhat understandable, thank you so much ! :)
Beta Was this translation helpful? Give feedback.
All reactions