Opened 10 years ago

Closed 10 years ago

#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:
Blocked by: Blocking:

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.

http://jsfiddle.net/bAfZP/10/

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 (1)

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

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.