Skip to content
Permalink
Browse files

Merge abe56c9 into c6e2b52

  • Loading branch information
xwartz committed Apr 17, 2017
2 parents c6e2b52 + abe56c9 commit 123070df1362fe90c32c5e7cf687a1a4b8c4e79c
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/widgets/sortable.js
@@ -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.
You can’t perform that action at this time.