Skip to content

Commit

Permalink
Fixing the behavior when scrolling of the spaces popover (elastic#23851)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb committed Oct 5, 2018
1 parent 932faba commit 34b6c05
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 @@ -44,6 +44,7 @@ exports[`NavControlPopover renders without crashing 1`] = `
isOpen={false}
ownFocus={true}
panelPaddingSize="none"
repositionOnScroll={true}
>
<Component
userProfile={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export class NavControlPopover extends Component<Props, State> {
closePopover={this.closeSpaceSelector}
anchorPosition={'rightCenter'}
panelPaddingSize="none"
// @ts-ignore
repositionOnScroll={true}
ownFocus
>
{element}
Expand Down

0 comments on commit 34b6c05

Please sign in to comment.