Skip to content

How to move data between two <SortableContext>? #1111

Answered by pstrassmann
lironbenjamin asked this question in Q&A
Discussion options

You must be logged in to vote

You’ll need update the contents of each “items” array onDragOver. For example when an item of one array is “over” an item of the other array, you’ll want to remove the item from the first array and add that item to the second array.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lironbenjamin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants