I'm trying to drop a large box onto a smaller box. The large box seems to be 'over' the box only when its very center is inside the smaller box.
Can I change the part of the big box which needs to be over the smaller one?
Why? Because it all works fine until I add a containment. When the small box is near the edge of the containment the center of the large box can't get 'inside' the small one because it hits the edge of the area.
Not really any code to show. Its just something like:
$(bigbox).draggable({
containment: $("#container")
})
$(smallbox).droppable({
drop: dropped-function
})