From d9df624de2ff5150a12baef8d1cc838234552ff0 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 22 Jul 2025 15:02:58 -0400 Subject: [PATCH] Address feedback --- webapp/channels/src/components/menu/menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/components/menu/menu.tsx b/webapp/channels/src/components/menu/menu.tsx index c520ea95642..7d5896f3cd1 100644 --- a/webapp/channels/src/components/menu/menu.tsx +++ b/webapp/channels/src/components/menu/menu.tsx @@ -193,7 +193,7 @@ export function Menu(props: Props) { } function handleMenuButtonKeyDown(event: KeyboardEvent) { - if (event.key === 'Enter' || event.key === ' ') { + if (isKeyPressed(event, Constants.KeyCodes.ENTER) || isKeyPressed(event, Constants.KeyCodes.SPACE)) { // Prevent the event from bubbling up to a parent's keydown handler so that it can trigger a click event event.stopPropagation(); }