Skip to main content

Search and Top Navigation

#8416 closed bug (fixed)

Opened June 28, 2012 06:45PM UTC

Closed July 31, 2012 08:28PM UTC

Last modified July 31, 2012 08:42PM UTC

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

Attachments (0)
Change History (6)

Changed June 28, 2012 06:58PM UTC by brennan.roberts comment:1

Oops, that fiddle needed some commentary:

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

Changed July 31, 2012 05:30PM UTC by brennan.roberts comment:2

_comment0: 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 multi-user application. Is this ticket a duplicate?1343755941996983
_comment1: 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 multi-user application containing draggables. Is this ticket a duplicate?1343755972681184

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?

Changed July 31, 2012 05:34PM UTC by scottgonzalez comment:3

status: newopen

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

Changed July 31, 2012 08:28PM UTC by Scott González comment:4

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

Changed July 31, 2012 08:28PM UTC by Scott González comment:5

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

Changed July 31, 2012 08:42PM UTC by scottgonzalez comment:6

milestone: 1.9.01.8.23