ng-table-virtual-scroll icon indicating copy to clipboard operation
ng-table-virtual-scroll copied to clipboard

Sticky footer not working

Open mpo-dev opened this issue 2 years ago • 2 comments

A sticky footer does not work, it disappears when scrolling down to only appear on the bottom at the table again.

mpo-dev avatar May 03 '22 07:05 mpo-dev

I second this, same issue happening to me.

Mintenker avatar May 18 '22 11:05 Mintenker

Can you share working example with the issue?

diprokon avatar Jul 23 '22 15:07 diprokon

@diprokon Can you provide a working stackblitz page using this package. I believe I can reproduce it

yitzchokneuhaus1 avatar Feb 16 '23 19:02 yitzchokneuhaus1

I think this line should be changed https://github.com/diprokon/ng-table-virtual-scroll/blob/6ac7e09e2ad6095c821a3ec046d361c4585b924c/projects/ng-table-virtual-scroll/src/lib/table-item-size.directive.ts#L34 to const stickyFooterSelector = '.mat-footer-row .mat-table-sticky, .mat-footer-row.mat-table-sticky, .cdk-footer-row .cdk-table-sticky, .cdk-header-row.cdk-table-sticky';

for now I used this <mat-footer-row *matFooterRowDef="columnsToDisplay; sticky: true" class="mat-header-row"></mat-footer-row>

ShimonLeb avatar Feb 16 '23 19:02 ShimonLeb