Skip to content

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

:recycle:

Vanessa77b29bde392d
diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts
index 6477d4e19a..9199f00431 100644
--- a/app/src/block/popover.ts
+++ b/app/src/block/popover.ts
@@ -100,7 +100,7 @@ const hidePopover = (event: MouseEvent & { target: HTMLElement, path: HTMLElemen
// 移动到弹窗的 loading 元素上,但经过 settimeout 后 loading 已经被移除了
// https://ld246.com/article/1673596577519/comment/1673767749885#comments
let targetElement = event.target;
- if (!targetElement.parentElement) {
+ if (!targetElement.parentElement && event.path[1]) {
targetElement = event.path[1];
}
const blockElement = hasClosestByClassName(targetElement, "block__popover", true);