You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."
The text was updated successfully, but these errors were encountered:
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."
The text was updated successfully, but these errors were encountered: