From eb27aa92363ef77335719c1b7918d481dc6dcf6d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 4 May 2026 12:44:57 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/17574 --- app/src/mobile/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.ts index 25ab9bef1..be16917bc 100644 --- a/app/src/mobile/index.ts +++ b/app/src/mobile/index.ts @@ -106,7 +106,7 @@ class App { callMobileAppShowKeyboard(); } } - if (!hasClosestByClassName(event.target as Element, "protyle-util")) { + if (document.contains(event.target) && !hasClosestByClassName(event.target as Element, "protyle-util")) { hideAllElements(["util"]); } });