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
but when i modify ui.item in the receive callback the origin dragged item is modified, but not the dropped item. While i modify the ui.item in the beforeStop event the dropped item changes and not the origin (i my case the lastest was desired).
Is it possible to describe in the documentation bit more elaborated what the ui object is? or what the context is of the callback event.
With this information the differences between the events become more clear imho.
The text was updated successfully, but these errors were encountered:
When i was applying draggable and sortable i discover a difference between the
ui.item
that is given to thebeforeStop
and thereceive
event.For both the api description is:
"The jQuery object representing the current dragged element."
http://api.jqueryui.com/sortable/#event-receive
http://api.jqueryui.com/sortable/#event-beforeStop
but when i modify
ui.item
in thereceive
callback the origin dragged item is modified, but not the dropped item. While i modify theui.item
in thebeforeStop
event the dropped item changes and not the origin (i my case the lastest was desired).Is it possible to describe in the documentation bit more elaborated what the
ui
object is? or what the context is of the callback event.With this information the differences between the events become more clear imho.
The text was updated successfully, but these errors were encountered: