Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/11098

Vanessa9f7c8c126573
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index cea97fbf11..e91319d881 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -91,10 +91,9 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
searchElement.style.width = "128px";
searchElement.style.paddingLeft = "";
searchElement.style.paddingRight = "";
- searchElement.value = "t";
- // setTimeout(() => {
- // searchElement.focus();
- // }, Constants.TIMEOUT_TRANSITION);
+ setTimeout(() => {
+ searchElement.focus();
+ }, Constants.TIMEOUT_TRANSITION);
event.preventDefault();
event.stopPropagation();
return true;