diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 11ba6479..ce6787b9 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -44,8 +44,10 @@ function App() { setSelectedVersion(''); } - // Scroll to top when navigating to new pages - window.scrollTo(0, 0); + // Scroll to top when navigating to new pages (unless there's verse auto-navigation active) + if (!window.location.hash.startsWith('#verse-')) { + window.scrollTo(0, 0); + } }, [location.pathname]); useEffect(() => {