From 4b030c93dbd9fad9104a93b0c204ea0e7154a767 Mon Sep 17 00:00:00 2001 From: Maayan Hadasi Date: Tue, 12 Mar 2024 21:03:21 +0200 Subject: [PATCH] Adding onBlur event Signed-off-by: Maayan Hadasi --- client/src/app/layout/HeaderApp/SSOMenu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/layout/HeaderApp/SSOMenu.tsx b/client/src/app/layout/HeaderApp/SSOMenu.tsx index 1279947f9b..7630154c5b 100644 --- a/client/src/app/layout/HeaderApp/SSOMenu.tsx +++ b/client/src/app/layout/HeaderApp/SSOMenu.tsx @@ -44,6 +44,7 @@ export const SSOMenu: React.FC = () => { ref={toggleRef} id="sso-actions-toggle" onClick={() => onDropdownToggle(!isDropdownOpen)} + onBlur={() => onDropdownToggle(false)} > {(keycloak?.idTokenParsed as any)?.["preferred_username"] ?? "DefaultUsername"}