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:
parent
5dfa3d5335
commit
14d1411300
File diff suppressed because one or more lines are too long
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue