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 and cqliu1 committed Oct 12, 2018
1 parent b7ce1e7 commit 601020f
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 601020f

Please sign in to comment.