Skip to content

Commit

Permalink
[BUGFIX] Update Sortable.js to 1.15.2
Browse files Browse the repository at this point in the history
Change threshold values for better movement in empty fields of groups.

Resolves: #560
Release: 12.0.1 8.2.0
  • Loading branch information
opi99 committed Feb 28, 2024
1 parent fc6cc41 commit 276dcf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/Public/JavaScript/PageLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ define([
ghostClass: "iAmGhost",
dragable: '.sortableItem',
animation: 150,
swapThreshold: 0.65,
swapThreshold: 0.95,
invertedSwapThreshold: 0.25,
emptyInsertThreshold: 5,
onUpdate: function (/**Event*/evt) {
console.log('onUpdate');
Expand Down

0 comments on commit 276dcf2

Please sign in to comment.