From e0b0e0fdfb70644bcb68ae269bea772f2cc135e5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 7 Aug 2024 22:53:16 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/11098 --- app/src/protyle/render/av/action.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index dfca2e158..3f918291e 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -92,9 +92,9 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle searchElement.style.paddingLeft = ""; searchElement.style.paddingRight = ""; searchElement.value = Constants.ZWSP; - setTimeout(() => { - searchElement.focus(); - }, Constants.TIMEOUT_TRANSITION); + // setTimeout(() => { + // searchElement.focus(); + // }, Constants.TIMEOUT_TRANSITION); event.preventDefault(); event.stopPropagation(); return true;