Skip to content

Commit

Permalink
Enable scrolling while reordering list
Browse files Browse the repository at this point in the history
  • Loading branch information
flibbertigibbet committed Oct 9, 2019
1 parent 71e4f81 commit ef6cdb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/scripts/cac/control/cac-control-tour-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down

0 comments on commit ef6cdb0

Please sign in to comment.