Lumen Yang
2025-08-21 0a57d032a76dc4d924f9e4927237830a42d2511c
quartz/components/scripts/search.inline.ts
@@ -220,7 +220,7 @@
    // If search is active, then we will render the first result and display accordingly
    if (!container.classList.contains("active")) return
    if (e.key === "Enter") {
    if (e.key === "Enter" && !e.isComposing) {
      // If result has focus, navigate to that one, otherwise pick first result
      if (results.contains(document.activeElement)) {
        const active = document.activeElement as HTMLInputElement