Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/6628

Vanessa525653738c07
diff --git a/app/src/mobile/util/menu.ts b/app/src/mobile/util/menu.ts
index 21cf8527fe..7858a4ce15 100644
--- a/app/src/mobile/util/menu.ts
+++ b/app/src/mobile/util/menu.ts
@@ -153,8 +153,8 @@ ${accountHTML}
<div class="b3-list-item b3-list-item--big" id="menuSafeQuit">
<svg class="b3-list-item__graphic"><use xlink:href="#iconQuit"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.safeQuit}</span>
</div>`;
-
- menuElement.addEventListener(getEventName(), (event) => {
+ // 只能用 click,否则无法上下滚动 https://github.com/siyuan-note/siyuan/issues/6628
+ menuElement.addEventListener("click", (event) => {
let target = event.target as HTMLElement;
while (target && !target.isEqualNode(menuElement)) {
if (target.id === "menuSearch") {