diff --git a/ui/widgets/sortable.js b/ui/widgets/sortable.js index 8920ed9674d..e941d709eac 100644 --- a/ui/widgets/sortable.js +++ b/ui/widgets/sortable.js @@ -82,7 +82,7 @@ return $.widget( "ui.sortable", $.ui.mouse, { }, _isFloating: function( item ) { - return ( /left|right/ ).test( item.css( "float" ) ) || ( /inline|table-cell/ ).test( item.css( "display" ) ); + return ( /left|right/ ).test( item.css( "float" ) ) || ( /inline|table-cell/ ).test( item.css( "display" ) ) || ( /flex/ ).test( this.element.css( "display" ) ); }, _create: function() {