From c7808c5c03f98eae709e5ef89e8e17af4689cb2e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 26 Dec 2020 12:38:24 +0200 Subject: [PATCH] Fixed Drag and drop between checklists closes the card sometimes on Firefox. xet7 thanks mfilser about [similar fix of appendTo parent](https://github.com/wekan/wekan/pull/3342) that did work here too to fix this. Thanks to mfilser and xet7 ! Fixes #2280 --- client/components/cards/checklists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js index 2ed385a90..59ab65298 100644 --- a/client/components/cards/checklists.js +++ b/client/components/cards/checklists.js @@ -6,7 +6,7 @@ function initSorting(items) { helper: 'clone', items: '.js-checklist-item:not(.placeholder)', connectWith: '.js-checklist-items', - appendTo: '.board-canvas', + appendTo: 'parent', distance: 7, placeholder: 'checklist-item placeholder', scroll: false,