Skip to content

Commit af03254

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Fix issue with rounding,
1 parent 94078dd commit af03254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4746,7 +4746,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
47464746
}
47474747
const height = Math.abs(gridHeight - renderedHeight);
47484748

4749-
if (height === 0 || isNaN(gridHeight)) {
4749+
if (Math.round(height) === 0 || isNaN(gridHeight)) {
47504750
const bodyHeight = this.defaultTargetBodyHeight;
47514751
return bodyHeight > 0 ? bodyHeight : null;
47524752
}

0 commit comments

Comments
 (0)