Skip to main content

Search and Top Navigation

#15208 new bug ()

Opened June 22, 2017 05:28PM UTC

Last modified June 22, 2017 05:28PM UTC

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

Reported by: kb-ptti 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/

Attachments (0)
Change History (0)