You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear friends!
Here's a nice reordering example utilising reactSprings: https://codesandbox.io/embed/r5qmj8m6lq
I'm trying to make multiple elements drag at once. For instance, if you drag 'Lorem', then 'Lorem' and 'Ipsum' are dragged etc.
I'm thinking about activating the second useDrag programmatically when the first one is triggered. Am I thinking in the right direction? If so, could you please suggest a way to do this? Otherwise, what could be possibly done to activate multiple elements at once?
Thank you so much, and thank you for creating a stunning lib!
This discussion was converted from issue #1306 on March 18, 2021 13:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear friends!
Here's a nice reordering example utilising reactSprings: https://codesandbox.io/embed/r5qmj8m6lq
I'm trying to make multiple elements drag at once. For instance, if you drag 'Lorem', then 'Lorem' and 'Ipsum' are dragged etc.
I'm thinking about activating the second useDrag programmatically when the first one is triggered. Am I thinking in the right direction? If so, could you please suggest a way to do this? Otherwise, what could be possibly done to activate multiple elements at once?
Thank you so much, and thank you for creating a stunning lib!
Beta Was this translation helpful? Give feedback.
All reactions