fire correct method for draganddrop cancel

This commit is contained in:
chfhtw
2026-04-22 09:28:20 +02:00
parent 38ea481177
commit 91a5b2d4fc
+5 -1
View File
@@ -502,6 +502,10 @@ export default {
}
},
dragCancel() {
if (this.mode == MODE_IDLE) {
return;
}
this.additionalRowComputed = false;
this.tempPositionUpdates = null;
this.draggedOffset = [0,0];
@@ -589,7 +593,7 @@ export default {
@start-move="startMove"
@start-resize="startResize"
@drag="moveGhostImage"
@dragend="dragEnd"
@dragend="dragCancel"
>
<template v-slot="item">
<slot