From 27b9227e503ffca7817376e9869e51d39e202368 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 1 Feb 2026 23:10:32 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11569 10 --- app/src/mobile/util/touch.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts index 25655a44e..919181bc3 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;