Open heyouxian opened 6 years ago
I create a codepen to demo this issue in https://codepen.io/heyouxian/pen/GQddZX. you can drag the 2 blocks to bottom edge one by one, then you will find they can be dragged out of bound far and far.
I noticed that the svg
width is too long.
I create a codepen to demo this issue in https://codepen.io/heyouxian/pen/GQddZX. you can drag the 2 blocks to bottom edge one by one, then you will find they can be dragged out of bound far and far.
Did you find any fix?
I have set "plumbInstance.draggable(plumbInstance.getSelector('#divId'), {containment: true});" And the div has style position: 'absolute', its direct container div has style position: 'relative'. It's OK for upper and left bound dragging limitation. But for right and bottom bound, the first drag can stop at the boundary. Then I try to drag the div again, it will be out of bound a little (about 20px), then drag and drag, I find the boundary seems to move 20px every time. So the drag boundary enlarged. I'm not sure it's a issue of Katavorio or jsplumb, so issue opened here
PS: my version is "jsplumb": "^2.6.3",