Opened 3 years ago

Last modified 3 years ago

#14909 open feature

Sortable: Review decision for out event firing when item is dropped

Reported by: joetidee Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Description

When I sort items within a list, the 'out' event is being triggered when i drop the item. I notice in the documentation that this is expected behaviour, but I can't understand why this should be the case as the item has not been dragged outside of the sortable container. I need to run some code specifically and only when an item leaves the sortable container and I cannot seem to do this using the 'out' event function because it is also fired when the item is dropped. Surely, the 'out' event is supposed to be an equal and opposite event to 'over' (?) Can I request that either, the 'out' event ONLY be fired when the item is moved out of the sortable container, OR have another functions - 'dragOut' - that actually does what the 'out' event is supposed to do?

Change History (1)

comment:1 Changed 3 years ago by Scott González

Milestone: 1.12.0none
Priority: blockerminor
Status: newopen
Summary: JQuery Sortable - 'out' event fired when item is dropped.Sortable: Review decision for out event firing when item is dropped
Type: bugfeature
Note: See TracTickets for help on using tickets.