Skip to content

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

:iphone: https://github.com/siyuan-note/siyuan/issues/16984

Vanessac6538f87326b
diff --git a/app/src/mobile/util/closePanel.ts b/app/src/mobile/util/closePanel.ts
index 098d5cf035..109b14461c 100644
--- a/app/src/mobile/util/closePanel.ts
+++ b/app/src/mobile/util/closePanel.ts
@@ -1,11 +1,14 @@
import {activeBlur} from "./keyboardToolbar";
+import {Constants} from "../../constants";
export const closePanel = () => {
document.getElementById("menu").style.transform = "";
document.getElementById("sidebar").style.transform = "";
document.getElementById("model").style.transform = "";
const maskElement = document.querySelector(".side-mask") as HTMLElement;
- maskElement.classList.add("fn__none");
+ setTimeout(() => {
+ maskElement.classList.add("fn__none");
+ }, Constants.TIMEOUT_TRANSITION);
maskElement.style.opacity = "";
window.siyuan.menus.menu.remove();
};