Skip to content

Commit d88b811

Browse files
committed
chore(*): Fallback in case of no border.
1 parent 822d8cd commit d88b811

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7266,8 +7266,8 @@ export abstract class IgxGridBaseDirective implements GridType,
72667266
const pagingHeight = this.getPagingFooterHeight();
72677267
const groupAreaHeight = this.getGroupAreaHeight();
72687268
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
7269-
const borderTop = parseFloat(styles.getPropertyValue('border-top'));
7270-
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom'));
7269+
const borderTop = parseFloat(styles.getPropertyValue('border-top')) || 0;
7270+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom')) || 0;
72717271

72727272
const renderedHeight = toolbarHeight + actualTheadRow +
72737273
footerHeight + pagingHeight + groupAreaHeight +

0 commit comments

Comments
 (0)