Closed GoogleCodeExporter closed 9 years ago
no, but "it gets nuts" is definitely intriguing...do you have a demo page?
Original comment by simon.po...@gmail.com
on 23 Nov 2010 at 11:25
Hi,
Attached a standalone html page as an example.
Tommaso
Original comment by tbarbu...@gmail.com
on 23 Nov 2010 at 2:27
Attachments:
thanks.
by default jsPlumb sets connected elements to be draggable, and adds its own
listeners to them so it can update when something moves. so the first thing
you should do when integrating with some other plugin that adds drag
functionality is to disable it in jsPlumb. put this at the start of your
script:
jsPlumb.setDraggableByDefault(false);
then what you have to do is add an event listener to whatever plugin has added
the drag, and have it call back to one of jsPlumb's repaint methods.
i took a quick look at sortable and was a little surprised to find they don't
seem to offer an event hook for when something is dragging.
anyway - as it stands, i don't see a jsPlumb bug here.
Original comment by simon.po...@gmail.com
on 23 Nov 2010 at 9:04
i'm about to release 1.2.4 - closing this. if you disagree with the resolution
by all means reopen it.
Original comment by simon.po...@gmail.com
on 25 Nov 2010 at 9:40
Original issue reported on code.google.com by
tbarbu...@gmail.com
on 23 Nov 2010 at 9:51