Skip to content

Commit b6fda25

Browse files
authored
Merge pull request desktop#21182 from zekariasasaminew/Menu-bar-flickers-and-doesn’t-open-after-opening-user-profile-modal
Fix: menu bar flickering when profile modal is open by adding capture phase click listener
2 parents 66bfb12 + f244a19 commit b6fda25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/ui/changes/commit-message-avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ export class CommitMessageAvatar extends React.Component<
424424
}
425425
anchorPosition={PopoverAnchorPosition.RightBottom}
426426
decoration={PopoverDecoration.Balloon}
427+
onMousedownOutside={this.closePopover}
427428
onClickOutside={this.closePopover}
428429
ariaLabelledby="commit-avatar-popover-header"
429430
>

0 commit comments

Comments
 (0)