diff --git a/package.json b/package.json index d86e18d..27ea0d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.35.0", + "version": "1.35.1", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 2b2424d..612fbba 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -3518,12 +3518,17 @@ export default function WeeklyView() { let touchEndX = 0; let touchEndY = 0; + let touchStartedInSomeday = false; + const handleTouchStart = (e: TouchEvent) => { touchStartX = e.changedTouches[0].screenX; touchStartY = e.changedTouches[0].screenY; + // Check if touch started inside the someday area (which has its own horizontal scroll) + touchStartedInSomeday = !!(e.target as HTMLElement)?.closest?.('.weekly-someday'); }; const handleTouchEnd = (e: TouchEvent) => { + if (touchStartedInSomeday) return; // Don't hijack someday horizontal scrolling touchEndX = e.changedTouches[0].screenX; touchEndY = e.changedTouches[0].screenY; const diffX = touchEndX - touchStartX;