Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8416 closed bug (fixed)

Draggable breaks during drag if any other draggable is removed or destroyed

Reported by: brennan.roberts Owned by:
Priority: minor Milestone: 1.8.23
Component: ui.draggable Version: 1.8.21
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/6mYLB/4/

If any draggable is deleted or destroyed while any other draggable is mid-drag, that drag breaks. By rolling back, it looks like this was introduced in 1.8.19.

jQuery UI 1.8.21 jQuery 1.7.2 Chrome 20 Firefox 13

Change History (6)

comment:1 Changed 11 years ago by brennan.roberts

Oops, that fiddle needed some commentary: http://jsfiddle.net/6mYLB/10/

comment:2 Changed 11 years ago by brennan.roberts

This persists in 1.8.22. It's surprising that no one else has chimed in here, as this would seem a breaking bug for any real-time application containing draggables. Is this ticket a duplicate?

Last edited 11 years ago by brennan.roberts (previous) (diff)

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

Status: newopen

This is caused by a76366f8fc731ec6946d9f6940c8a03040e31d23. The new uuid for _on() should fix this, but only exists in master.

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

Resolution: fixed
Status: openclosed

Mouse: Don't try to unbind delegated event handlers if they don't exist. Fixes #8416 - Draggable breaks during drag if any other draggable is removed or destroyed.

Changeset: e68bee9b84b16ee8a757a7a1f44d93f4ba78c656

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

Mouse: Don't try to unbind delegated event handlers if they don't exist. Fixes #8416 - Draggable breaks during drag if any other draggable is removed or destroyed. (cherry picked from commit e68bee9b84b16ee8a757a7a1f44d93f4ba78c656)

Changeset: 25f20b18bd43dd4259b64e016d397ba45f5c6934

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

Milestone: 1.9.01.8.23
Note: See TracTickets for help on using tickets.