From d71561672fbc02594c189c01dd77cd372609b0bd Mon Sep 17 00:00:00 2001 From: Oliver Bryan Date: Sun, 8 Feb 2026 09:50:21 +0000 Subject: [PATCH] fully overridden traditional dom keyboard navigation --- src/App.tsx | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a4969e0d..dcceb6ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -335,9 +335,9 @@ function Home() { } }; - window.addEventListener("keydown", handleKeyDown); + window.addEventListener("keydown", handleKeyDown, true); return () => { - window.removeEventListener("keydown", handleKeyDown); + window.removeEventListener("keydown", handleKeyDown, true); }; }, [ activeHomeTab, @@ -437,14 +437,16 @@ function Home() { className="relative z-0 h-auto w-full gap-0 p-0" > Work Travel @@ -468,8 +470,9 @@ function Home() { {locations.map((location, index) => (