Compare commits

...

4 commits

Author SHA1 Message Date
Henry Jameson
33421630ff Merge branch 'virtual-scrolling-2.0' into shigusegubu-themes3 2026-09-16 12:39:16 +03:00
Henry Jameson
29de7a1d5d brilliant idea 2026-09-16 12:39:05 +03:00
Henry Jameson
314e39bc7b Merge branch 'virtual-scrolling-2.0' into shigusegubu-themes3 2026-09-16 03:17:23 +03:00
Henry Jameson
6d94cfb8fe fix 2026-09-16 03:17:16 +03:00
2 changed files with 3 additions and 2 deletions

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 {

View file

@ -84,7 +84,7 @@ const Timeline = {
const offset = computed(() => {
if (embedded.value) {
// The fontsize after navbar is the little gap between navbar and content
return navbarSize.value + fontsize.value
return navbarSize.value + fontSize.value
} else {
return 0
}