浏览代码

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

Lauri Ojansivu 4 年之前
父节点
当前提交
c7808c5c03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/components/cards/checklists.js

+ 1 - 1
client/components/cards/checklists.js

@@ -6,7 +6,7 @@ function initSorting(items) {
     helper: 'clone',
     helper: 'clone',
     items: '.js-checklist-item:not(.placeholder)',
     items: '.js-checklist-item:not(.placeholder)',
     connectWith: '.js-checklist-items',
     connectWith: '.js-checklist-items',
-    appendTo: '.board-canvas',
+    appendTo: 'parent',
     distance: 7,
     distance: 7,
     placeholder: 'checklist-item placeholder',
     placeholder: 'checklist-item placeholder',
     scroll: false,
     scroll: false,