Containment change

Containment change


I'm changing the containment option of a draggable elem. while it is
dragging, but the movement restrictions are not applied if I don't
start the drag over.....
is there a fix? or a function to update dimensions?
I'm changing the containment option within a callback of keypress
event, if that matters....
Thanks!