From 0a02c0b1fdf9aab3ca5ab24029e72dd4e356c5d3 Mon Sep 17 00:00:00 2001 From: its-mitesh-kumar Date: Wed, 24 Jun 2026 17:55:11 +0530 Subject: [PATCH] fix(adoption-insights): enable keyboard navigation in header date range dropdown Signed-off-by: its-mitesh-kumar Co-authored-by: Cursor --- workspaces/adoption-insights/.changeset/gentle-keys-focus.md | 5 +++++ .../adoption-insights/src/components/Header/Header.tsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 workspaces/adoption-insights/.changeset/gentle-keys-focus.md diff --git a/workspaces/adoption-insights/.changeset/gentle-keys-focus.md b/workspaces/adoption-insights/.changeset/gentle-keys-focus.md new file mode 100644 index 0000000000..af03223423 --- /dev/null +++ b/workspaces/adoption-insights/.changeset/gentle-keys-focus.md @@ -0,0 +1,5 @@ +--- +'@red-hat-developer-hub/backstage-plugin-adoption-insights': patch +--- + +Fix keyboard navigation in the header date range dropdown by removing `autoFocusItem: false`, allowing arrow keys to navigate menu items immediately without requiring a Tab press first. diff --git a/workspaces/adoption-insights/plugins/adoption-insights/src/components/Header/Header.tsx b/workspaces/adoption-insights/plugins/adoption-insights/src/components/Header/Header.tsx index ce6252fcd4..d07856ba1c 100644 --- a/workspaces/adoption-insights/plugins/adoption-insights/src/components/Header/Header.tsx +++ b/workspaces/adoption-insights/plugins/adoption-insights/src/components/Header/Header.tsx @@ -154,7 +154,6 @@ const InsightsHeader: FC = () => { disableScrollLock: true, }, MenuListProps: { - autoFocusItem: false, sx: { display: 'block', flexDirection: 'column' }, }, }}