From b63b171ade4c3ec9ba4584f3a176f0aea77171e5 Mon Sep 17 00:00:00 2001 From: Gabriel Gordon-Hall Date: Tue, 23 Sep 2025 15:37:44 +0100 Subject: [PATCH] Now the browser back button will work correctly: (#820) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Navigate to task sidebar → browser history has projects page + task sidebar - Toggle to fullscreen → browser history has projects page + task sidebar + task fullscreen - Click browser back → returns to task sidebar - Click browser back again → returns to projects page This preserves the expected browser navigation behavior while maintaining the fullscreen toggle functionality. --- frontend/src/hooks/useTaskViewManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/useTaskViewManager.ts b/frontend/src/hooks/useTaskViewManager.ts index 44c0131d..8652afd6 100644 --- a/frontend/src/hooks/useTaskViewManager.ts +++ b/frontend/src/hooks/useTaskViewManager.ts @@ -33,7 +33,7 @@ export function useTaskViewManager() { : currentPath; } - navigate(targetPath, { replace: true }); + navigate(targetPath); }, [location.pathname, navigate] );