Skip to content

Commit

Permalink
Prevent header popovers from scrolling with page content (#23850)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover authored Oct 8, 2018
1 parent 70c4e71 commit 2a9cc02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export class HeaderAppMenu extends Component<Props, State> {
button={button}
isOpen={this.state.isOpen}
anchorPosition="downRight"
// @ts-ignore
repositionOnScroll
closePopover={this.closeMenu}
>
<EuiKeyPadMenu id="keyPadMenu" style={{ width: 288 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class SecurityNavControl extends Component {
button={button}
isOpen={this.state.isOpen}
anchorPosition="downRight"
repositionOnScroll
closePopover={this.closeMenu}
panelPaddingSize="none"
>
Expand Down

0 comments on commit 2a9cc02

Please sign in to comment.