Browse Source

:bug: fix https://github.com/siyuan-note/siyuan/issues/8881

Vanessa 2 years ago
parent
commit
12d399dce9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/protyle/hint/index.ts

+ 1 - 1
app/src/protyle/hint/index.ts

@@ -854,7 +854,7 @@ ${genHintItemHTML(item)}
             event.stopPropagation();
             return true;
         } else if (event.key === "ArrowDown" || event.key === "ArrowUp") {
-            upDownHint(this.element, event);
+            upDownHint(this.element.firstElementChild, event);
             event.preventDefault();
             event.stopPropagation();
             return true;