From b0a23a2b8ae07fcf1696b81bd9d6c510dedaafea Mon Sep 17 00:00:00 2001 From: "Jaime R." <38530589+Jaime02@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:48:54 +0200 Subject: [PATCH] Remove KeyboardEvent.persist() --- src/components/SearchModal.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/SearchModal.tsx b/src/components/SearchModal.tsx index 8f1c70c76..f685c6724 100644 --- a/src/components/SearchModal.tsx +++ b/src/components/SearchModal.tsx @@ -786,8 +786,6 @@ export function SearchModal() { }, [focusedIndex]) const handleKeyDown = (e: React.KeyboardEvent) => { - e.persist() - if (!containerRef.current) return const items = containerRef.current.querySelectorAll('[role="option"]')