Now the browser back button will work correctly: (#820)
- 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.
This commit is contained in:
committed by
GitHub
parent
d82f5a0dfa
commit
b63b171ade
@@ -33,7 +33,7 @@ export function useTaskViewManager() {
|
|||||||
: currentPath;
|
: currentPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
navigate(targetPath, { replace: true });
|
navigate(targetPath);
|
||||||
},
|
},
|
||||||
[location.pathname, navigate]
|
[location.pathname, navigate]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user