mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Set containment size after helper size change
This commit is contained in:
parent
2de8604b67
commit
6b36f6afe2
@ -208,15 +208,15 @@ $.widget( "ui.draggable", $.ui.mouse, {
|
||||
this._adjustOffsetFromHelper( o.cursorAt );
|
||||
}
|
||||
|
||||
//Set a containment if given in the options
|
||||
this._setContainment();
|
||||
|
||||
//Trigger event + callbacks
|
||||
if ( this._trigger( "start", event ) === false ) {
|
||||
this._clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
//Set a containment if given in the options
|
||||
this._setContainment();
|
||||
|
||||
//Recache the helper size
|
||||
this._cacheHelperProportions();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user