From dc003a5487e384893df75bc98735b51d4bf37441 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Thu, 1 Oct 2026 03:36:20 -0500 Subject: [PATCH] Header dropdowns close after a click; a tint circle behind the side nav The dropdowns opened on any focus inside, and a click leaves focus on the link, so they stayed open after the pointer left; now only keyboard focus (:focus-visible) opens them besides hover. Co-Authored-By: Claude Opus 5.5 --- src/components/Layout.tsx | 8 ++++++-- src/components/PageShell.tsx | 10 +++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index f930891..e98b6b2 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -189,8 +189,12 @@ export default function Layout() { {pageSections.length > 0 && ( // pt-3 is the bridge the pointer crosses from the - // link into the menu without it closing. -
+ // link into the menu without it closing. Keyboard + // focus opens it too, but only keyboard focus + // (:focus-visible): a click leaves focus on the + // link, which held the menu open after the + // pointer had gone. +
    - ({ id: s.id, label: s.title }))} wrap /> +
    + {/* A solid circle behind the list, centered on it: the + tint, which the nav's text reads on in either mode. */} +
    {bands}