|
@@ -54,6 +54,7 @@ function initSortable(boardComponent, $listsDom) {
|
|
};
|
|
};
|
|
|
|
|
|
$listsDom.sortable({
|
|
$listsDom.sortable({
|
|
|
|
+ connectWith: '.board-canvas',
|
|
tolerance: 'pointer',
|
|
tolerance: 'pointer',
|
|
helper: 'clone',
|
|
helper: 'clone',
|
|
items: '.js-list:not(.js-list-composer)',
|
|
items: '.js-list:not(.js-list-composer)',
|
|
@@ -61,6 +62,7 @@ function initSortable(boardComponent, $listsDom) {
|
|
distance: 7,
|
|
distance: 7,
|
|
start(evt, ui) {
|
|
start(evt, ui) {
|
|
ui.placeholder.height(ui.helper.height());
|
|
ui.placeholder.height(ui.helper.height());
|
|
|
|
+ ui.placeholder.width(ui.helper.width());
|
|
EscapeActions.executeUpTo('popup-close');
|
|
EscapeActions.executeUpTo('popup-close');
|
|
boardComponent.setIsDragging(true);
|
|
boardComponent.setIsDragging(true);
|
|
},
|
|
},
|