Search and Top Navigation
#14909 open feature ()
Opened January 25, 2016 01:36AM UTC
Last modified March 15, 2016 01:50PM UTC
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?
Attachments (0)
Change History (1)
Changed March 15, 2016 01:50PM UTC by comment:1
milestone: | 1.12.0 → none |
---|---|
priority: | blocker → minor |
status: | new → open |
summary: | JQuery Sortable - 'out' event fired when item is dropped. → Sortable: Review decision for out event firing when item is dropped |
type: | bug → feature |