When trying to prevent the snap from one block using the onsnap function and returning false,
it does not work as expected.
I tried also on the demo page just returning false, and once the bloc is released, it is not attached to the parent one (good), but the dragged block itself stay on the canvas kind of lost.
Attached a screenshot.
Then as soon as you try to drag another block, the previous one (the lost one) move to the top of the window.
There is no javascript error, but you can see in the dom that the lost/dragged block is added in the dom at the root at the dom, whereas it should simply not be there.
Hello,
When trying to prevent the snap from one block using the onsnap function and returning false, it does not work as expected.
I tried also on the demo page just returning false, and once the bloc is released, it is not attached to the parent one (good), but the dragged block itself stay on the canvas kind of lost.
Attached a screenshot.
Then as soon as you try to drag another block, the previous one (the lost one) move to the top of the window.
There is no javascript error, but you can see in the dom that the lost/dragged block is added in the dom at the root at the dom, whereas it should simply not be there.