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/15595
Vanessa28067deffa59
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 7db7628d29..fed2ccd07e 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -430,14 +430,18 @@ export const cellScrollIntoView = (blockElement: HTMLElement, cellElement: Eleme// 属性面板return;}- const avHeaderRect = blockElement.querySelector(".av__row--header").getBoundingClientRect();+ const bodyElement = hasClosestByClassName(cellElement, "av__body");+ if (!bodyElement) {+ return;+ }+ const avHeaderRect = bodyElement.querySelector(".av__row--header").getBoundingClientRect();if (avHeaderRect.bottom > cellRect.top) {const contentElement = hasClosestByClassName(blockElement, "protyle-content", true);if (contentElement) {contentElement.scrollTop = contentElement.scrollTop + cellRect.top - avHeaderRect.bottom;}} else {- const footerElement = blockElement.querySelector(".av__row--footer");+ const footerElement = bodyElement.querySelector(".av__row--footer");if (footerElement?.querySelector(".av__calc--ashow")) {const avFooterRect = footerElement.getBoundingClientRect();if (avFooterRect.top < cellRect.bottom) {