smooth scrolling
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user