Fixing the behavior when scrolling of the spaces popover (#23851) (#23886)

This commit is contained in:
Brandon Kobel 2018-10-05 11:45:07 -07:00 committed by GitHub
parent 887ad26367
commit 7b639ca77d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -44,6 +44,7 @@ exports[`NavControlPopover renders without crashing 1`] = `
isOpen={false}
ownFocus={true}
panelPaddingSize="none"
repositionOnScroll={true}
>
<Component
userProfile={

View file

@ -79,6 +79,8 @@ export class NavControlPopover extends Component<Props, State> {
closePopover={this.closeSpaceSelector}
anchorPosition={'rightCenter'}
panelPaddingSize="none"
// @ts-ignore
repositionOnScroll={true}
ownFocus
>
{element}