Trying to fix the scrollbar bug (#16477)

This commit is contained in:
Aasim Khan
2021-07-29 10:19:28 -07:00
committed by GitHub
parent 39f65b1881
commit 0bbbb91adf

View File

@@ -47,8 +47,8 @@ export interface GridModelViewConfig extends GridCellConfig {
selector: 'dashboard-grid-container', selector: 'dashboard-grid-container',
template: ` template: `
<div class="fullsize" style="display: flex; flex-direction: column"> <div class="fullsize" style="display: flex; flex-direction: column">
<div scrollable [horizontalScroll]="${ScrollbarVisibility.Auto}" [verticalScroll]="${ScrollbarVisibility.Auto}">
<table class="grid-table"> <table class="grid-table">
<div scrollable [horizontalScroll]="${ScrollbarVisibility.Auto}" [verticalScroll]="${ScrollbarVisibility.Auto}">
<tr *ngFor="let row of rows" class="grid-table-row"> <tr *ngFor="let row of rows" class="grid-table-row">
<ng-container *ngFor="let col of cols"> <ng-container *ngFor="let col of cols">
<ng-container *ngIf="getContent(row,col) !== undefined"> <ng-container *ngIf="getContent(row,col) !== undefined">
@@ -70,8 +70,8 @@ export interface GridModelViewConfig extends GridCellConfig {
</ng-container> </ng-container>
</ng-container> </ng-container>
</tr> </tr>
</table>
</div> </div>
</table>
</div> </div>
`, `,
providers: [{ provide: TabChild, useExisting: forwardRef(() => DashboardGridContainer) }] providers: [{ provide: TabChild, useExisting: forwardRef(() => DashboardGridContainer) }]