diff --git a/src/controls/gridLayout/GridLayout.tsx b/src/controls/gridLayout/GridLayout.tsx index 9a566558d..6600b54a4 100644 --- a/src/controls/gridLayout/GridLayout.tsx +++ b/src/controls/gridLayout/GridLayout.tsx @@ -73,6 +73,7 @@ export class GridLayout extends React.Component { + if (this._isCompact) { + return this.props.items.length * this._rowHeight; + } return this._rowHeight * ROWS_PER_PAGE; }