How to implement elements snapping to each other functionality?
razmatinyan opened this issue · comments
Raz Matinyan commented
Hello. Does anyone know how to implement the elements snapping to each other functionality in 1.10.20 version? Didn't find any solution.
Daniel199438 commented
@razmatinyan Look at this fiddle: https://jsfiddle.net/a0knv69j/9/
You just need to add in dynamicTargets the other elements x and y coordinates you want to snap to.
I refresh it on every dragstart to the actual position of my other elements.