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/18347
Vanessa85fa4a76384b
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex 69fe5ad41c..268c38b4fa 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -602,7 +602,7 @@ export class MobileFiles extends Model {const ghostElement = document.createElement("ul");ghostElement.id = "dragGhost";ghostElement.append(state.selectedElement.cloneNode(true));- ghostElement.setAttribute("style", `background-color: var(--b3-theme-surface);width: 100%;touch-action: none;margin-left: -50%;margin-top:20px;z-index:${window.siyuan.zIndex};position: fixed;top:${clientX}px;left:${clientY}px`);+ ghostElement.setAttribute("style", `background-color: var(--b3-theme-surface);width: 100%;touch-action: none;margin-left: -50%;margin-top:20px;z-index:${window.siyuan.zIndex};position: fixed;top:${clientY}px;left:${clientX}px`);ghostElement.setAttribute("class", "b3-list b3-list--background");document.body.append(ghostElement);state.ghostElement = ghostElement;diff --git a/app/src/mobile/dock/MobileOutline.ts b/app/src/mobile/dock/MobileOutline.tsindex 17a3b2d7fb..1de42cb9ee 100644--- a/app/src/mobile/dock/MobileOutline.ts+++ b/app/src/mobile/dock/MobileOutline.ts@@ -368,7 +368,7 @@ export class MobileOutline extends Model {this.touchDragState = null;});- this.element.addEventListener("touchcancel", () => {+ const cancelTouchDrag = () => {stopScrollAnimation();if (this.touchDragState?.ghostElement) {this.touchDragState.ghostElement.remove();@@ -378,7 +378,10 @@ export class MobileOutline extends Model {}this.clearDragIndicators();this.touchDragState = null;- });+ };+ this.element.addEventListener("touchcancel", cancelTouchDrag);+ this.element.addEventListener("pointercancel", cancelTouchDrag);+ window.addEventListener("blur", cancelTouchDrag);bindMousePointerTouchBridge(this.element);}