From 5b89882e5eea4af2becc97f7daa446f08f0b2b15 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 13:46:30 +0000 Subject: [PATCH] Highlight parent menu item when submenu is open (#11659) * Initial plan * fix: highlight parent menu item when sub-menu is open Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> --- app/components/primitives/components/Menu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/primitives/components/Menu.tsx b/app/components/primitives/components/Menu.tsx index 0c02238085..c60a021a34 100644 --- a/app/components/primitives/components/Menu.tsx +++ b/app/components/primitives/components/Menu.tsx @@ -67,6 +67,7 @@ const BaseMenuItemCSS = css` !props.disabled && ` &[data-highlighted], + &[data-state="open"], &:focus-visible { color: ${props.theme.accentText}; background: ${props.$dangerous ? props.theme.danger : props.theme.accent};