Change draggable containment on entering element

Change draggable containment on entering element

Hello,

I am using the draggable and droppable features in jQuery UI. Is there a way of changing the containment option in draggable when the element being dragged enters the element which will become its containment ie the droppable.

Using the droppable 'over' method I can change the containment fine however this only updates after the element has stopped dragging. 

Is there a way of updating it sooner?

Project is local so can't show any demos - but as I said I am bascially checking if the element is over a droppable area, if it is it will set the containment locking it into the area. however this doesn't update until after the element is released. 

Thanks..