From ffe517c15f8a3b7177c6958e9cab39e1eda80921 Mon Sep 17 00:00:00 2001 From: "konveyor-ci-bot[bot]" <159171263+konveyor-ci-bot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:46:21 -0400 Subject: [PATCH] :bug: sso-actions-toggle: Adding onBlur event (#1766) (#1786) Resolves: https://issues.redhat.com/browse/MTA-1578 Signed-off-by: Maayan Hadasi Co-authored-by: Scott Dickerson Signed-off-by: Cherry Picker --- 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"}