From e77a051144663ea08571e0bfb7aef6f463463f78 Mon Sep 17 00:00:00 2001
From: siaikin <abc1310054026@outlook.com>
Date: Tue, 09 Sep 2025 03:06:28 +0000
Subject: [PATCH] feat(analytics): add support for Vercel Web Analytics provider (#2119)
---
quartz/components/scripts/search.inline.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/components/scripts/search.inline.ts b/quartz/components/scripts/search.inline.ts
index 27f74ec..28d47e9 100644
--- a/quartz/components/scripts/search.inline.ts
+++ b/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
--
Gitblit v1.10.0