Skip to content

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

:bug: Preserve mobile editor scroll position when toggling toolbar menus https://github.com/siyuan-note/siyuan/issues/19270

Danielfb7482eddb96
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index 94c7a6adc5..c13d6002f5 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -605,6 +605,8 @@ body.mobile-topbar--merged {
position: absolute;
inset: var(--mobile-top-safe-area) 0 0;
box-sizing: border-box;
+ // 绝对定位的主编辑器需继承键盘占位,保持软键盘与工具栏菜单切换时的滚动视口高度。
+ padding-bottom: inherit;
> .protyle-breadcrumb {
position: absolute;