Containment (resizable and draggable) not working when container has overflow:hidden
Assume you have a resizable and/or draggable inside a container with the containment-option specified to constrain the resize- and drag-operations to that container. If the container has the css-property overflow:hidden assigned and if it's content is larger than the container itself (i.e. without overflow:hidden the content would overlap) then the restriction does not work.
This is due to the fact, that jquery ui thinks the container is scrollable while it isn't due to the css-property.
I have appended a fix that makes the containment-option work for both resizables and draggables. I would really appreaciate it to see the patch included in 1.6 .
Make containment-restriction work for containers with overflow:hidden