An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipsticks: https://github.com/siyuan-note/siyuan/issues/18043
Vanessa9ef031acc074
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex 76ffa8824a..754717a80b 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -146,7 +146,9 @@ export const handleTouchEnd = (event: TouchEvent) => {const isXScroll = Math.abs(xDiff) > Math.abs(yDiff);const modelElement = hasClosestByAttribute(target, "id", "model", true);if (modelElement) {- if (isXScroll && firstDirection === "toRight" && !lastClientX && !hasClosestByClassName(target, "protyle-wysiwyg", true)) {+ if (isXScroll && firstDirection === "toRight" && !lastClientX && !hasClosestByClassName(target, "protyle-wysiwyg", true) &&+ // 划选文字时不触发关闭面板+ (getSelection().rangeCount === 0 || getSelection().toString() === "")) {closeModel();}return;