From 83800a7ff1e3306c446f989d85d70fb400bbf2ef Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 4 Aug 2025 22:37:46 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15404 --- app/src/protyle/toolbar/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index 772385d46..a7bcf8330 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -1291,7 +1291,7 @@ export class Toolbar { } html = `
${window.siyuan.languages.clear}
` + html; listElement.innerHTML = html; - if (listElement.childElementCount > 2) { + if (listElement.childElementCount > 2 && !matchInput && inputElement.value.trim()) { listElement.firstElementChild.nextElementSibling.nextElementSibling.classList.add("b3-list-item--focus"); } else { listElement.firstElementChild.nextElementSibling.classList.add("b3-list-item--focus");