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/13207

Vanessa4e48a9da552a
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index a21fff2e3f..bbfbedd5e9 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -81,13 +81,13 @@ export const handleTouchEnd = (event: TouchEvent) => {
clientY: event.changedTouches[0].clientY,
}));
}
+ clearLongPress();
event.stopImmediatePropagation();
event.preventDefault();
return;
}
- clearLongPress();
}
-
+ clearLongPress();
if (typeof yDiff === "undefined" && window.siyuan.mobile.editor?.protyle.options.render.gutter) {
const nodeElement = hasClosestBlock(target);
if (nodeElement) {