Fix scroll when dragging elements. Remove scrollbars from swimlanes.

This commit is contained in:
Andrés Manelli 2018-03-06 21:17:20 -03:00
parent 65beb89944
commit ed8471be9b
4 changed files with 5 additions and 8 deletions

View file

@ -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());