diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 007aa951..70c74f3b 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -143,6 +143,9 @@ function handleScroll() { scrollTop.value = document.documentElement.scrollTop } + if (scrollTop.value === 0) + toggleTopBarVisible(true) + if (settings.value.autoHideTopBar && !hoveringTopBar.value && scrollTop.value !== 0) { if (scrollTop.value > oldScrollTop.value) toggleTopBarVisible(false)