From dbcd62198a851b816692d1ecd57687106c29b2ca Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 14 Oct 2024 21:57:17 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12774 --- app/src/menus/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/menus/index.ts b/app/src/menus/index.ts index 328160958..e9cd4f89a 100644 --- a/app/src/menus/index.ts +++ b/app/src/menus/index.ts @@ -14,6 +14,7 @@ import {hasClosestByClassName, hasTopClosestByTag} from "../protyle/util/hasClos import {App} from "../index"; import {Constants} from "../constants"; import {textMenu} from "./text"; +import {hideTooltip} from "../dialog/tooltip"; export class Menus { public menu: Menu; @@ -86,6 +87,7 @@ export class Menus { event.stopPropagation(); break; } else if (dataType && target.classList.contains("dock__item")) { + hideTooltip(); initDockMenu(target).popup({x: event.clientX, y: event.clientY}); event.stopPropagation(); break;