AAE-28655 Fix for datatable not scrolling back up after paginations

This commit is contained in:
Alex Molodyh 2025-01-31 10:16:27 -08:00
parent 0c459227a8
commit 971fde213a
No known key found for this signature in database
GPG Key ID: 64B4F1C7AEE95C47

View File

@ -174,12 +174,13 @@
</div>
<div
*ngIf="!loading"
class="adf-datatable-body"
[ngClass]="{ 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing), 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow, 'adf-datatable-body__dragging': isDraggingRow }"
cdkDropList
[cdkDropListDisabled]="!enableDragRows"
role="rowgroup">
<ng-container *ngIf="!loading && !noPermission">
<ng-container *ngIf="!noPermission">
<adf-datatable-row *ngFor="let row of data.getRows(); let idx = index"
cdkDrag
[cdkDragDisabled]="!enableDragRows"
@ -439,7 +440,8 @@
</div>
</div>
</ng-container>
<div *ngIf="!loading && noPermission"
<div *ngIf="noPermission"
role="row"
class="adf-datatable-row adf-no-permission__row">
<div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell">
@ -449,6 +451,7 @@
</ng-template>
</div>
</div>
</div>
<div *ngIf="loading" class="adf-datatable-row">
<div class="adf-no-content-container adf-datatable-cell">
<ng-template *ngIf="loadingTemplate"
@ -457,5 +460,4 @@
</ng-template>
</div>
</div>
</div>
</div>