I would like to connect two draggable divs using jsPlumb. However when I use jsPlumb.Draggable function only the endpoints become draggable (not the div itself). Here is the fiddle of what I what I am trying.
How to connect draggable divs with jsPlumb?
Asked Answered
This seem to be working:
div.operation {
position: absolute;
}
something so simple...was this in the documentation? You would think that jsPlumb.draggable() would check style. –
Pride
it does weirdly not: i use it with jquery UI and it seems to use its "draggable" event. it is unclear to me, why it does not auto-set "position" as UI does. I guess there is a reason! –
Jarrell
I have the same problem! However my div position is absolute? #30768389 –
Corriecorriedale
© 2022 - 2024 — McMap. All rights reserved.