diff --git a/web/app/components/mobile-drawer.tsx b/web/app/components/mobile-drawer.tsx index 982461e8..9392b786 100644 --- a/web/app/components/mobile-drawer.tsx +++ b/web/app/components/mobile-drawer.tsx @@ -34,7 +34,6 @@ export function useMobileDrawer() { if (focusable.length === 0) return; const first = focusable[0]; const last = focusable[focusable.length - 1]; - first.focus(); const trap = (e: KeyboardEvent) => { if (e.key !== "Tab") return; if (e.shiftKey) { @@ -71,7 +70,7 @@ export function MobileDrawerOverlay({ open, onClose }: { open: boolean; onClose: if (!open) return null; return (
diff --git a/web/app/components/site-header.tsx b/web/app/components/site-header.tsx index 09c8eb14..6a6b24f7 100644 --- a/web/app/components/site-header.tsx +++ b/web/app/components/site-header.tsx @@ -21,61 +21,61 @@ export function SiteHeader({ const { open, toggle, close, drawerRef, buttonRef } = useMobileDrawer(); return ( -