Skip to content

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

:art: https://github.com/siyuan-note/siyuan/pull/17675 命令面板无法上下选中

Vanessa448d569e6a7a
diff --git a/app/src/boot/globalEvent/command/panel.ts b/app/src/boot/globalEvent/command/panel.ts
index 3f061183bb..e467275e95 100644
--- a/app/src/boot/globalEvent/command/panel.ts
+++ b/app/src/boot/globalEvent/command/panel.ts
@@ -107,6 +107,7 @@ export const commandPanel = (app: App) => {
});
});
+ listElement.firstElementChild.classList.add("b3-list-item--focus");
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement;
inputElement.focus();
listElement.addEventListener("click", (event: KeyboardEvent) => {