Problem with Dragging and Ref Retrieval in React-Beautiful-DND

21 Views Asked by At

I want to create a draggable form similar to Google Forms using react-beautiful-dnd. I've developed an "AreaControl" that moves to the offsetTop of the area when an item is clicked or when the drag ends. However, I've encountered a problem—I don't know how to obtain the ref of the dragged item when the drag ends. As a result, this function is not present in my app. Is there any solution for this issue?

Here is my code

0

There are 0 best solutions below