Relative Content

Tag Archive for react-nativeuser-interfacemobiledrag-and-drop

Icons Only Move to Position 0 in Drag-and-Drop List Implementation (React Native)

I want to create a drag-and-drop list where I can press and hold an icon, then move it to a desired position within the list, with a visual representation of the icon moving as I drag it. However, right now, my icons only move to the 0 position in the array, and the icon in the UI does not reflect the movement. In additional i receiving warring message in the terminal ” WARN [Reanimated] Tried to modify key current of an object which has been already passed to a worklet. See
https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-modify-key-of-an-object-which-has-been-converted-to-a-shareable
for more details.”