react-native-draggable-grid icon indicating copy to clipboard operation
react-native-draggable-grid copied to clipboard

how do I achieve replace two items's position when I dragRelease?

Open LastStranger opened this issue 1 year ago • 0 comments

I found I can replace two items position hard coded, but if I want to replace two items position dynamic, I can't get position of the item I'm about to replace. is there a way I can get the item's key I'm about to replace? or is there a way just replace two items position without resort the whole grid?

LastStranger avatar Jan 04 '24 08:01 LastStranger