diff --git a/frontend/vue-app/src/components/child/ParentView.vue b/frontend/vue-app/src/components/child/ParentView.vue index d8ba505..eb0638c 100644 --- a/frontend/vue-app/src/components/child/ParentView.vue +++ b/frontend/vue-app/src/components/child/ParentView.vue @@ -286,6 +286,9 @@ const onDocClick = (e: MouseEvent) => { selectedChoreId.value = null if (path.some((n) => n instanceof HTMLElement && n.classList.contains('item-card'))) { shouldIgnoreNextCardClick.value = true + } else { + // Clicked fully outside any card — reset ready state so chore requires 2 clicks again + readyItemId.value = null } } } @@ -550,6 +553,10 @@ function getPendingRewardIds(): string[] { } const triggerTask = (task: Task) => { + if (shouldIgnoreNextCardClick.value) { + shouldIgnoreNextCardClick.value = false + return + } selectedTask.value = task const pendingRewardIds = getPendingRewardIds() if (pendingRewardIds.length > 0) {