An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/17628
Vanessac1aade97220b
diff --git a/app/src/util/touchDragBridge.ts b/app/src/util/touchDragBridge.tsindex 9839b168fb..b983376d95 100644--- a/app/src/util/touchDragBridge.ts+++ b/app/src/util/touchDragBridge.ts@@ -60,14 +60,17 @@ const handleManualTouchMove = (e: TouchEvent) => {if (!manualTouchActive) return;const touch = e.touches[0];- if (document.onmousemove && typeof document.onmousemove === "function" && (touch.target as Element)?.nodeType === 1) {+ if (document.onmousemove && typeof document.onmousemove === "function") {e.preventDefault();- touch.target.dispatchEvent( new MouseEvent("mousemove", {- clientX: touch.clientX,- clientY: touch.clientY,- cancelable: true,- bubbles: true,- }));+ const elementUnderFinger = document.elementFromPoint(touch.clientX, touch.clientY);+ if (elementUnderFinger) {+ elementUnderFinger.dispatchEvent(new MouseEvent("mousemove", {+ clientX: touch.clientX,+ clientY: touch.clientY,+ cancelable: true,+ bubbles: true,+ }));+ }}};