Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/12262

Vanessa4b809fbefaf1
diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.ts
index 1395891494..983bacf9c6 100644
--- a/app/src/layout/dock/index.ts
+++ b/app/src/layout/dock/index.ts
@@ -300,7 +300,8 @@ export class Dock {
});
this.layout.element.addEventListener("mouseleave", (event: MouseEvent & { toElement: HTMLElement }) => {
- if (event.buttons !== 0 || this.pin || event.toElement?.classList.contains("b3-menu")) {
+ if (event.buttons !== 0 || this.pin || event.toElement?.classList.contains("b3-menu") ||
+ event.toElement?.classList.contains("tooltip")) {
return;
}
if (this.position === "Left" && event.clientX < 43) {