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/8749
Vanessa6cb1cc960266
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 1683022443..1c9fd109b9 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -919,7 +919,12 @@ export class Files extends Model {});target.classList.add("b3-list-item--focus");if (isScroll) {- this.element.scrollTop = target.offsetTop - this.element.clientHeight / 2 - this.actionsElement.clientHeight;+ let offsetTop = target.offsetTop;+ // https://github.com/siyuan-note/siyuan/issues/8749+ if (target.parentElement.classList.contains("file-tree__sliderDown") && target.offsetParent) {+ offsetTop = (target.offsetParent as HTMLElement).offsetTop;+ }+ this.element.scrollTop = offsetTop - this.element.clientHeight / 2 - this.actionsElement.clientHeight;}}