Skip to content

Commit 2ed8393

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Set back the subtraction of scrollsize.
1 parent fc55a3a commit 2ed8393

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6525,6 +6525,9 @@ export abstract class IgxGridBaseDirective implements GridType,
65256525
this.isColumnWidthSum = false;
65266526
}
65276527

6528+
if (this.hasVerticalScroll() && this.width !== null) {
6529+
width -= this.scrollSize;
6530+
}
65286531
if ((Number.isFinite(width) || width === null) && width !== this.calcWidth) {
65296532
this.calcWidth = width;
65306533
}

0 commit comments

Comments
 (0)