Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/11569 10

Vanessa27b9227e503f
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 25655a44e1..919181bc34 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -67,7 +67,8 @@ export const handleTouchEnd = (event: TouchEvent, app: App) => {
const isXScroll = Math.abs(xDiff) > Math.abs(yDiff);
const modelElement = hasClosestByAttribute(target, "id", "model", true);
if (modelElement) {
- if (isXScroll && firstDirection === "toRight" && !lastClientX) {
+ if (isXScroll && firstDirection === "toRight" && !lastClientX &&
+ !hasClosestByClassName(target, "protyle-wysiwyg", true)) {
closeModel();
}
return;