Skip to content

Commit 2f6a6e6

Browse files
authored
Merge branch 'master' into pivot-grid-master
2 parents 9139cb7 + 03628e1 commit 2f6a6e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6512,12 +6512,10 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
65126512
this.tbody.nativeElement.style.display = 'none';
65136513
let res = !this.nativeElement.parentElement ||
65146514
this.nativeElement.parentElement.clientHeight === 0 ||
6515-
this.nativeElement.parentElement.clientHeight === renderedHeight;
6516-
if (!this.platform.isChromium && !this.platform.isFirefox) {
6515+
this.nativeElement.parentElement.clientHeight === renderedHeight ||
65176516
// If grid causes the parent container to extend (for example when container is flex)
65186517
// we should always auto-size since the actual size of the container will continuously change as the grid renders elements.
6519-
res = this.checkContainerSizeChange();
6520-
}
6518+
this.checkContainerSizeChange();
65216519
this.tbody.nativeElement.style.display = '';
65226520
return res;
65236521
}

0 commit comments

Comments
 (0)