Skip to content
Permalink
Browse files
Merge abe56c9 into c6e2b52
  • Loading branch information
xwartz committed Apr 17, 2017
2 parents c6e2b52 + abe56c9 commit 123070d
Showing 1 changed file with 5 additions and 0 deletions.
@@ -979,6 +979,11 @@ return $.widget( "ui.sortable", $.ui.mouse, {
continue;
}

//@xwartz Never consider a container that's "display:none"
if ( this.containers[ i ].element.css( "display" ) === "none" ) {
continue;
}

if ( this._intersectsWith( this.containers[ i ].containerCache ) ) {

// If we've already found a container and it's more "inner" than this, then continue

0 comments on commit 123070d

Please sign in to comment.