From ef6cdb05943f651b8662efd25156bbd14d1a2b45 Mon Sep 17 00:00:00 2001 From: Kathryn Killebrew Date: Tue, 8 Oct 2019 15:59:27 -0400 Subject: [PATCH] Enable scrolling while reordering list --- src/app/scripts/cac/control/cac-control-tour-list.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/scripts/cac/control/cac-control-tour-list.js b/src/app/scripts/cac/control/cac-control-tour-list.js index c0f3f78cc..e95c2cb28 100644 --- a/src/app/scripts/cac/control/cac-control-tour-list.js +++ b/src/app/scripts/cac/control/cac-control-tour-list.js @@ -83,6 +83,9 @@ CAC.Control.TourList = (function (_, $, MapTemplates) { animation: 150, direction: 'vertical', draggable: '.tour-place-card', + // Allow scrolling while dragging by not using native HTML5 + // See: https://github.com/SortableJS/Sortable/issues/935 + forceFallback: true, sort: true, onUpdate: onDestinationListReordered });