Skip to content

Commit

Permalink
add ownFocus prop to help menu (#62492) (#62637)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMarcialis authored Apr 6, 2020
1 parent daa5a7a commit 8023e93
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/core/public/chrome/ui/header/header_help_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,13 +314,14 @@ class HeaderHelpMenuUI extends Component<Props, State> {
return (
// @ts-ignore repositionOnScroll doesn't exist in EuiPopover
<EuiPopover
id="headerHelpMenu"
button={button}
isOpen={this.state.isOpen}
anchorPosition="downRight"
repositionOnScroll
button={button}
closePopover={this.closeMenu}
data-test-subj="helpMenuButton"
id="headerHelpMenu"
isOpen={this.state.isOpen}
ownFocus
repositionOnScroll
>
<EuiPopoverTitle>
<EuiFlexGroup responsive={false}>
Expand Down

0 comments on commit 8023e93

Please sign in to comment.