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 <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
  • Loading branch information
2 people authored and web-flow committed Mar 19, 2024
1 parent 5d6288c commit 552d189
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 552d189

Please sign in to comment.