Ticket #8258 (closed bug: notabug)

Opened 13 months ago

Last modified 13 months ago

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.

 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

comment:1 Changed 13 months ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

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.