Vanessa 2024-04-16 09:27:35 +08:00
parent 69371f5a72
commit c1bf8bf04f

View file

@ -136,7 +136,7 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => {
return false;
}
const avPanelElement = hasClosestByClassName(target, "av__panel");
const avPanelElement = hasClosestByClassName(target, "av__panel") || hasClosestByClassName(target, "av__mask");
if (avPanelElement) {
// 浮窗上点击 av 操作,浮窗不能消失
const blockPanel = window.siyuan.blockPanels.find((item) => {