Skip to content

Commit 1d6c14f

Browse files
issue 3246 fix
1 parent 53f0b65 commit 1d6c14f

File tree

1 file changed

+5
-0
lines changed
  • src/shared/components/TopcoderHeader

1 file changed

+5
-0
lines changed

src/shared/components/TopcoderHeader/index.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ export default class TopcoderHeader extends React.Component {
322322
styleName="user-menu-handle"
323323
role="button"
324324
tabIndex={0}
325+
onFocus={event => !isMobile && openMenu(userSubMenu, event.target)}
326+
onBlur={(event) => {
327+
if (!isMobile && activeTrigger
328+
&& 1 + event.pageY < activeTrigger.bottom) closeMenu();
329+
}}
325330
>
326331
{normalizedProfile.handle}
327332
</div>

0 commit comments

Comments
 (0)