Resize grids and detect changes when toggling panel visibility (#944)

This commit is contained in:
Matt Irvine
2018-03-20 17:34:31 -07:00
committed by Karl Burtram
parent fe496ab03b
commit c116f933e2

View File

@@ -102,6 +102,7 @@ export abstract class GridParentComponent {
if (this.resultActive) {
this.resizeGrids();
}
this._cd.detectChanges();
}
get messageActive(): boolean {
@@ -202,6 +203,10 @@ export abstract class GridParentComponent {
private toggleResultPane(): void {
this.resultActive = !this.resultActive;
if (this.resultActive) {
this.resizeGrids();
}
this._cd.detectChanges();
}
private toggleMessagePane(): void {