Skip to content

Commit

Permalink
🐛 sso-actions-toggle: Adding onBlur event (#1766)
Browse files Browse the repository at this point in the history
Resolves: https://issues.redhat.com/browse/MTA-1578

Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Co-authored-by: Scott Dickerson <sdickers@redhat.com>
  • Loading branch information
mguetta1 and sjd78 authored Mar 19, 2024
1 parent 94a04a3 commit 984fbca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/app/layout/HeaderApp/SSOMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 984fbca

Please sign in to comment.