Compare commits

..

2 Commits

Author SHA1 Message Date
Cory LaViska
ff3beb7137 Merge branch 'next' into popover 2025-06-02 16:10:22 -04:00
Cory LaViska
dead18d23c Fix scroll on reload (#1015)
* fix scroll on reload

* fix comment
2025-06-02 16:09:49 -04:00

View File

@@ -48,7 +48,7 @@ window.addEventListener('scroll', updateScrollClass);
window.addEventListener('turbo:render', updateScrollClass);
updateScrollClass();
// Restore scroll position after components are definedAdd commentMore actions
// Restore scroll position after components are defined
allDefined().then(() => {
const navigationType = getNavigationType();
const key = `wa-scroll-y-[${location.pathname}]`;