Hey I have currently a Problem with the bounds. I have a element with dynamic elements around. So if I move my element the other elements are shown. If I stop moving the elemens will be removed. The problem is that the right and the bottom borders not correctly working.
The 3 elements arround are the dynamic elements. If I stop moving the elements are removed
But the bottom and the right corner did not work.
My draggable object looks like this
Draggable.create(`#${id}`, {
type: 'x,y',
bounds: {
target: '#boundArea',
top: 0,
left: 0,
},
...otherFunctionsAreHere(liveSnap, onPress, onDrag and onDragEnd)
});
bottom: 0 or right: 0 are no available options
If I set a height and a width of the white rect to my bounds. The bounds looks like this
The text can be changed.