diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index ca528eff..11ba6479 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -43,6 +43,9 @@ function App() { // At root path, no version is selected setSelectedVersion(''); } + + // Scroll to top when navigating to new pages + window.scrollTo(0, 0); }, [location.pathname]); useEffect(() => {