Skip to content

Commit

Permalink
fix: enable AutoScroll with SortableJS for column reordering, fixes #735
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Mar 18, 2023
1 parent bb40f4d commit c9ee9af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,8 @@ if (typeof Slick === "undefined") {
draggable: '.slick-header-column',
dragoverBubble: false,
revertClone: true,
forceFallback: true,
scroll: !hasFrozenColumns(),
onStart: function (e) {
canDragScroll = !hasFrozenColumns() ||
$(e.item).offset().left > $viewportScrollContainerX.offset().left;
Expand Down

0 comments on commit c9ee9af

Please sign in to comment.