Skip to content

Commit

Permalink
[Metrics UI] Fix a Chrome bug with Inventory View flickering at certa…
Browse files Browse the repository at this point in the history
…in sizes (#81514)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
Zacqary and kibanamachine authored Oct 28, 2020
1 parent d7a7822 commit 6272f4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const Map: React.FC<Props> = ({
const sortedNodes = sortNodes(options.sort, nodes);
const map = nodesToWaffleMap(sortedNodes);
return (
<AutoSizer content>
{({ measureRef, content: { width = 0, height = 0 } }) => {
<AutoSizer bounds>
{({ measureRef, bounds: { width = 0, height = 0 } }) => {
const groupsWithLayout = applyWaffleMapLayout(map, width, height);
return (
<WaffleMapOuterContainer
Expand Down

0 comments on commit 6272f4e

Please sign in to comment.