mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
AAE-28655 Fix for datatable not scrolling back up after paginations
This commit is contained in:
parent
0c459227a8
commit
971fde213a
@ -174,12 +174,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
*ngIf="!loading"
|
||||||
class="adf-datatable-body"
|
class="adf-datatable-body"
|
||||||
[ngClass]="{ 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing), 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow, 'adf-datatable-body__dragging': isDraggingRow }"
|
[ngClass]="{ 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing), 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow, 'adf-datatable-body__dragging': isDraggingRow }"
|
||||||
cdkDropList
|
cdkDropList
|
||||||
[cdkDropListDisabled]="!enableDragRows"
|
[cdkDropListDisabled]="!enableDragRows"
|
||||||
role="rowgroup">
|
role="rowgroup">
|
||||||
<ng-container *ngIf="!loading && !noPermission">
|
<ng-container *ngIf="!noPermission">
|
||||||
<adf-datatable-row *ngFor="let row of data.getRows(); let idx = index"
|
<adf-datatable-row *ngFor="let row of data.getRows(); let idx = index"
|
||||||
cdkDrag
|
cdkDrag
|
||||||
[cdkDragDisabled]="!enableDragRows"
|
[cdkDragDisabled]="!enableDragRows"
|
||||||
@ -439,7 +440,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<div *ngIf="!loading && noPermission"
|
|
||||||
|
<div *ngIf="noPermission"
|
||||||
role="row"
|
role="row"
|
||||||
class="adf-datatable-row adf-no-permission__row">
|
class="adf-datatable-row adf-no-permission__row">
|
||||||
<div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell">
|
<div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell">
|
||||||
@ -449,6 +451,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="loading" class="adf-datatable-row">
|
<div *ngIf="loading" class="adf-datatable-row">
|
||||||
<div class="adf-no-content-container adf-datatable-cell">
|
<div class="adf-no-content-container adf-datatable-cell">
|
||||||
<ng-template *ngIf="loadingTemplate"
|
<ng-template *ngIf="loadingTemplate"
|
||||||
@ -457,5 +460,4 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user