-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Hello, I am trying to get the payload object, but it returns undefined. I am new to react-smooth-dnd and I am trying to return the element that was dragged in the OnDragEnd event. I see the documentation states the payload object is returned by the getChildPayload function. Is there an example that you can provide on how to return the payload? If the payload is not the dragged element how would I access that? Specifically, I am trying to retrieve that Y-axis value when the dragging stops.
"payload : object : the payload object that is returned by getChildPayload function. It will be undefined in case getChildPayload is not set."
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels