Skip to content

Commit

Permalink
Adding onBlur event
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <[email protected]>
  • Loading branch information
mguetta1 committed Mar 12, 2024
1 parent c2ef03c commit 4b030c9
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 4b030c9

Please sign in to comment.