smooth scrolling

This commit is contained in:
overcuriousity
2025-07-29 22:54:29 +02:00
parent fcab1485f5
commit 3a60c63a84
2 changed files with 11 additions and 6 deletions

View File

@@ -296,6 +296,11 @@ const phases = data.phases;
break;
}
// Add smooth scrolling to filters section after layout settles
setTimeout(() => {
window.scrollToElementById('filters-section');
}, 150);
if (window.location.search) {
window.history.replaceState({}, '', window.location.pathname);
}