Opened 11 years ago

Closed 11 years ago

#8380 closed bug (notabug)

Draggable clone gets stuck in non-recoverable state if original is deleted

Reported by: pwmckenna Owned by: pwmckenna
Priority: minor Milestone: 1.9.0
Component: ui.draggable Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:

Description

Bug (or unhandled edge case) in jquery.ui.draggable.js

If the original element is deleted while the clone is still being dragged, the clone gets stuck in whatever position its in when the original is deleted.

In the fiddle below, just start dragging the draggable, and wait for a second or two...once the original is deleted the clone will be completely stuck.

http://jsfiddle.net/pwmckenna/Xh8KB/6/

Change History (3)

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

Owner: set to pwmckenna
Status: newpending

What is a valid use case where this would occur?

comment:2 Changed 11 years ago by Scott González

Component: ui.coreui.draggable

comment:3 Changed 11 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.