brilliant idea

This commit is contained in:
Henry Jameson 2026-09-16 12:39:05 +03:00
commit 29de7a1d5d

View file

@ -322,7 +322,8 @@ export default {
const diveToTopLevel = () => scrollTo(new Set([currentAncestors.value[0].id]))
watch(focusedId, async (neu, old) => {
if (neu) scrollTo(new Set([neu]))
// Ignoring initial update (null -> id) since that is handled by scroll compensation
if (old && neu) scrollTo(new Set([neu]))
})
return {