Skip to content

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

:bug: Prevent mobile iframe resizing from opening sidebars https://github.com/siyuan-note/siyuan/issues/19342

Danielab902e623a0e
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 33090e7944..1b226addc8 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -354,6 +354,7 @@ export const handleTouchStart = (event: TouchEvent) => {
if ((otherTouchElement && otherTouchElement.parentElement.classList.contains("b3-chips__doctag")) ||
target.closest(".protyle-gutters") ||
target.closest(".protyle-action") ||
+ target.closest(".protyle-action__drag") ||
target.closest(".av__gallery") ||
(target.tagName === "IMG" && target.style.cursor === "move" && target.parentElement.classList.contains("protyle-background__img"))) {
clientX = null;