Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/9135

Vanessa83e3467dea94
diff --git a/app/src/block/Panel.ts b/app/src/block/Panel.ts
index 13ea772235..788d301ea9 100644
--- a/app/src/block/Panel.ts
+++ b/app/src/block/Panel.ts
@@ -49,7 +49,6 @@ export class BlockPanel {
this.isBacklink = options.isBacklink;
this.element = document.createElement("div");
- this.element.style.zIndex = (++window.siyuan.zIndex).toString();
this.element.classList.add("block__popover");
const parentElement = hasClosestByClassName(this.targetElement, "block__popover", true);
@@ -305,6 +304,7 @@ export class BlockPanel {
}
}
this.element.classList.add("block__popover--open");
+ this.element.style.zIndex = (++window.siyuan.zIndex).toString();
} : undefined);
} else {
observer.observe(item);