Prevent header popovers from scrolling with page content (#23850)

This commit is contained in:
Josh Dover 2018-10-08 02:52:06 -05:00 committed by GitHub
parent 70c4e718a0
commit 2a9cc02d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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 }}>

View file

@ -65,6 +65,7 @@ export class SecurityNavControl extends Component {
button={button}
isOpen={this.state.isOpen}
anchorPosition="downRight"
repositionOnScroll
closePopover={this.closeMenu}
panelPaddingSize="none"
>