Skip to content

Commit bc08c92

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Fix issue with rounding,
1 parent a4fe128 commit bc08c92

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
@@ -4726,7 +4726,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
47264726
}
47274727
const height = Math.abs(gridHeight - renderedHeight);
47284728

4729-
if (height === 0 || isNaN(gridHeight)) {
4729+
if (Math.round(height) === 0 || isNaN(gridHeight)) {
47304730
const bodyHeight = this.defaultTargetBodyHeight;
47314731
return bodyHeight > 0 ? bodyHeight : null;
47324732
}

0 commit comments

Comments
 (0)