From 276dcf292ac99d0a59043328d3fdef4be9a03996 Mon Sep 17 00:00:00 2001 From: Alexander Opitz Date: Wed, 28 Feb 2024 09:20:37 +0100 Subject: [PATCH] [BUGFIX] Update Sortable.js to 1.15.2 Change threshold values for better movement in empty fields of groups. Resolves: #560 Release: 12.0.1 8.2.0 --- Resources/Public/JavaScript/PageLayout.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/Public/JavaScript/PageLayout.js b/Resources/Public/JavaScript/PageLayout.js index cf1607689..eb865b778 100644 --- a/Resources/Public/JavaScript/PageLayout.js +++ b/Resources/Public/JavaScript/PageLayout.js @@ -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');