Skip to content

Commit

Permalink
Fixing the behavior when scrolling of the spaces popover (#23851)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb authored and cqliu1 committed Oct 12, 2018
1 parent 9f51ce5 commit a312896
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 a312896

Please sign in to comment.