summaryrefslogtreecommitdiffstats
path: root/client/components/lists/list.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-03-06 21:17:20 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-03-06 21:36:16 -0300
commited8471be9b79243b016a275e5b11a6912717fbb9 (patch)
tree6848f1796f584f162698ac565300686dd6b94e8a /client/components/lists/list.js
parent65beb89944a2fc8bd2ad70df5da0054baccf67d2 (diff)
downloadwekan-ed8471be9b79243b016a275e5b11a6912717fbb9.tar.gz
wekan-ed8471be9b79243b016a275e5b11a6912717fbb9.tar.bz2
wekan-ed8471be9b79243b016a275e5b11a6912717fbb9.zip
Fix scroll when dragging elements. Remove scrollbars from swimlanes.
Diffstat (limited to 'client/components/lists/list.js')
-rw-r--r--client/components/lists/list.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index d715c002..081b1e50 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -103,7 +103,7 @@ BlazeComponent.extendComponent({
$cards.sortable({
connectWith: '.js-minicards:not(.js-list-full)',
tolerance: 'pointer',
- appendTo: 'body',
+ appendTo: '.board-canvas',
helper(evt, item) {
const helper = item.clone();
if (MultiSelection.isActive()) {
@@ -119,7 +119,6 @@ BlazeComponent.extendComponent({
},
distance: 7,
items: itemsSelector,
- scroll: false,
placeholder: 'minicard-wrapper placeholder',
start(evt, ui) {
ui.placeholder.height(ui.helper.height());