Opened 18 months ago

#15208 new bug

Sortable "helper:'clone'" element not removed after sort after aborted drag

Reported by: Kevin Broadey Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

A Sortable list created with "helper:'clone'" malfunctions after a linked Draggable object is dragged but then not dropped on the Sortable. The next time an item in the Sortable is dragged and dropped, the clone remains visible at the point the drop occurred. It ought to be remove()d.

Furthermore, the Draggable element retains its ui-draggable and ui-draggable-handle classes after it has joined the Sortable, and is not given a ui-sortable-handle class. It also retains the height, width and display style attributes which were used to position it during the drag.

https://jsfiddle.net/kmbro/sjej8k12/

Change History (0)

Note: See TracTickets for help on using tickets.