Skip to content

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

:bug: Close rollup relation menu when switching column type https://github.com/siyuan-note/siyuan/issues/18251

Daniel38966b0d576b
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts
index b622cad5d5..13300b5758 100644
--- a/app/src/protyle/render/av/openMenuPanel.ts
+++ b/app/src/protyle/render/av/openMenuPanel.ts
@@ -1290,6 +1290,7 @@ export const openMenuPanel = (options: {
event.stopPropagation();
break;
} else if (type === "goUpdateColType") {
+ window.siyuan.menus.menu.remove();
const editMenuElement = hasClosestByClassName(target, "b3-menu");
if (editMenuElement) {
editMenuElement.firstElementChild.classList.add("fn__none");