jetersu / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

Bizarre Draggable Behavior With CSS3 'scale' #291

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Im attempting to make a simple scaleable flowchart with the draggable 
connections being handled by jsPlumb. The problem is that the SVG components 
start getting positioned very strangely once the 'stage' element has a scale 
applied to it. The example sums it up better than I could really, simply use 
the mousewheel to scale the stage and attempt to drag connections together.

I see that there is some extra provision being taken in the 'draggable' code to 
allow for zoom factor, is this something that would maybe need to be ported to 
the draggable connectors code as well?

http://jsfiddle.net/PXnSz/5/

Original issue reported on code.google.com by tjke...@gmail.com on 5 Nov 2012 at 5:22

GoogleCodeExporter commented 8 years ago
jquery's offset function does not take scale into account. i have no idea why.  
there are a number of open issues on their site about it.

Original comment by simon.po...@gmail.com on 26 Jan 2013 at 6:35