Skip to content

Commit 833d6f4

Browse files
committed
chore(*): Fallback in case of no border.
1 parent e658769 commit 833d6f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7241,8 +7241,8 @@ export abstract class IgxGridBaseDirective implements GridType,
72417241
const pagingHeight = this.getPagingFooterHeight();
72427242
const groupAreaHeight = this.getGroupAreaHeight();
72437243
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
7244-
const borderTop = parseFloat(styles.getPropertyValue('border-top'));
7245-
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom'));
7244+
const borderTop = parseFloat(styles.getPropertyValue('border-top')) || 0;
7245+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom')) || 0;
72467246

72477247
const renderedHeight = toolbarHeight + actualTheadRow +
72487248
footerHeight + pagingHeight + groupAreaHeight +

0 commit comments

Comments
 (0)