Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/13347

Vanessa2a9290d0b63b
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 8b0332cfa1..4940390dae 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -66,7 +66,7 @@ export const handleTouchEnd = (event: TouchEvent, app: App) => {
}
const isXScroll = Math.abs(xDiff) > Math.abs(yDiff);
- const modelElement = hasClosestByAttribute(target, "id", "model");
+ const modelElement = hasClosestByAttribute(target, "id", "model", true);
if (modelElement) {
if (isXScroll && firstDirection === "toRight" && !lastClientX) {
closeModel();