Ticket #8258 (closed bug: notabug)
Draggable stops working
| Reported by: | spuas | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.core | Version: | 1.8.18 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Version 1.8.18 jQuery 1.7.2
Dinamically creating draggable divs stop working when creating one of them by pressing, moving and releasing the mouse button to draw desired shape.
When creating the DIVs with fixed size, the are draggable and any number of them can be created. However, when creating them in the second way (press mouse button, draw the div, release the button), then one more drag is allowed (in any of the already created divs) and after that dragging will stop working.
I have seen it working on previous versions (1.8.5) but I had some problems with that version and IE
Change History
Note: See
TracTickets for help on using
tickets.


You're unbinding all mousedown, mousemove, and mouseup event handlers, so you're killing the draggable functionality. See http://jsfiddle.net/bAfZP/11/