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: fix https://github.com/siyuan-note/siyuan/issues/9516
Vanessa4347d12af0fc
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex e189c51f31..22007aee85 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -421,6 +421,13 @@ export class Files extends Model {if (window.siyuan.config.readonly) {return;}+ const contentRect = this.element.getBoundingClientRect();+ if (event.clientY < contentRect.top + Constants.SIZE_SCROLL_TB || event.clientY > contentRect.bottom - Constants.SIZE_SCROLL_TB) {+ this.element.scroll({+ top: this.element.scrollTop + (event.clientY < contentRect.top + Constants.SIZE_SCROLL_TB ? -Constants.SIZE_SCROLL_STEP : Constants.SIZE_SCROLL_STEP),+ behavior: "smooth"+ });+ }let liElement = hasClosestByTag(event.target, "LI");if (!liElement) {liElement = hasClosestByTag(document.elementFromPoint(event.clientX, event.clientY - 1), "LI");