diff --git a/frontend/pages/group/mealplan/planner.vue b/frontend/pages/group/mealplan/planner.vue
index 86ba1defe68f..da333054fa9c 100644
--- a/frontend/pages/group/mealplan/planner.vue
+++ b/frontend/pages/group/mealplan/planner.vue
@@ -147,7 +147,7 @@
-
+
{{ $globals.icons.delete }}
@@ -291,10 +291,12 @@ export default defineComponent({
}
function onMoveCallback(evt: SortableEvent) {
+ const supportedEvents = ["drop", "touchend"];
+
// Adapted From https://github.com/SortableJS/Vue.Draggable/issues/1029
const ogEvent: DragEvent = (evt as any).originalEvent;
- if (ogEvent && ogEvent.type !== "drop") {
+ if (ogEvent && ogEvent.type in supportedEvents) {
// The drop was cancelled, unsure if anything needs to be done?
console.log("Cancel Move Event");
} else {