Skip to content

Commit 3f9c4df

Browse files
committed
Fix drag drop
1 parent dd40841 commit 3f9c4df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

landolfio/inventory_frontend/templates/detail.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,9 @@ <h5 class="card-title">{% translate "Divested" %}</h5>
14461446
ghostClass: 'sortable-ghost',
14471447
dragClass: 'sortable-drag',
14481448
handle: '.drag-handle',
1449+
delayOnTouchOnly: true,
1450+
delay: 100,
1451+
touchStartThreshold: 5,
14491452
onEnd: function(evt) {
14501453
if (evt.oldIndex === evt.newIndex) {
14511454
return;

0 commit comments

Comments
 (0)