Fix task drag and drop slowdown when a column is hidden

It looks like jQuery UI has some difficulties when a column with a lot
of tasks is hidden.
Adding ':visible' to the connectWith properties of sortable() seems to
fix the problem

Fixes #4011
This commit is contained in:
Julian Maurice 2018-09-27 14:18:35 +02:00 committed by Frédéric Guillot
parent 5dfa3d5335
commit 14d1411300
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@ Kanboard.BoardDragAndDrop.prototype.dragAndDrop = function() {
var params = {
forcePlaceholderSize: true,
tolerance: "pointer",
connectWith: ".sortable-column",
connectWith: ".sortable-column:visible",
placeholder: "draggable-placeholder",
items: ".draggable-item",
stop: function(event, ui) {