Skipping seemingly redundant tags page scrolling logic that causes jittering in Firefox. Added hash exclude property to umami script attributes.

This commit is contained in:
2025-12-13 01:46:00 +01:00
parent 79eacee3f0
commit e05ca80f7c
2 changed files with 3 additions and 1 deletions

View File

@@ -151,11 +151,13 @@ function calculateActiveCategory() {
activeCategory.value = newCategory;
/* this understandably causes jittering in Firefox, why the need to scroll into the category we're already in?
const activeLink = document.querySelector(`a[href="#${activeCategory.value}"]`);
activeLink.scrollIntoView({
inline: 'center',
});
*/
navigate(`#${activeCategory.value}`, null, { replace: true });
}