Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Reduce mobile navigation bar stutter when scrolling https://github.com/siyuan-note/siyuan/issues/19329

Danielff38e9749c05
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index d88d2501a5..ab8ecd1c34 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -526,13 +526,10 @@ body.mobile-keyboard--open {
}
.mobile-chrome--hidden {
- .mobile-topbar {
- visibility: hidden;
- }
-
+ // 滚动显隐使用位移和透明度,保持栏位渲染层,避免切换可见性时卡顿。
+ .mobile-topbar,
.mobile-bottom-bar {
pointer-events: none;
- visibility: hidden;
}
}