Skip to content

Dragged item transitions back to original index, but array mutated correctly #1027

Discussion options

You must be logged in to vote

Figured it out. The key in the render cannot and should not be index. Swap to item.id instead and it all works.

Replies: 1 comment

Comment options

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