Skip to content

Commit

Permalink
Fix breadcrumb position
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 13, 2020
1 parent d10d193 commit 9812fe6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ function BlockPopover( {
__unstableAllowVerticalSubpixelPosition={ moverDirection !== 'horizontal' && node }
__unstableAllowHorizontalSubpixelPosition={ moverDirection === 'horizontal' && node }
onBlur={ () => setIsToolbarForced( false ) }
// Popover calculates the width once. Trigger a reset by remounting
// the component.
key={ shouldShowContextualToolbar }
>
{ ( shouldShowContextualToolbar || isToolbarForced ) && (
<div
Expand Down

0 comments on commit 9812fe6

Please sign in to comment.