diprokon / ng-table-virtual-scroll

Virtual Scroll for Angular Material Table
https://diprokon.github.io/ng-table-virtual-scroll
MIT License
137 stars 42 forks source link

Angular/Material 15, sticky header does not work #111

Closed joerggross closed 1 year ago

joerggross commented 1 year ago

Angular/Material15 based on MDC introduces new css class (mdc). As these classes are used in css-selectors the sticky header does not work anymore.

Already @TobiDimmel posted this problem in this thread: https://github.com/diprokon/ng-table-virtual-scroll/issues/107. But this thread is closed.

Is there any update planned?

TobiDimmel commented 1 year ago

Added a PR with the fix (see #112).

diprokon commented 1 year ago

Yep, there are problems with Material 15 and I'm already fixing it

danielfnz commented 1 year ago

@diprokon Any progress on this?

samitjainmca commented 1 year ago

Issue still persist with ng-table-virtual-scroll v15. Is there a plan to provide a fix soon?

rvalimaki commented 1 year ago

Issue still persist with ng-table-virtual-scroll v15. Is there a plan to provide a fix soon?

I can confirm that 1.5.0 release does not fix sticky header/footer issues with Angular Material 15. Also I haven't found a workaround for the time being.

rvalimaki commented 1 year ago

I can also confirm that adding mdc based css selectors fixes the problem. I guess that non-mdc css selectors are relevant only for legacy table support. (PR's by @TobiDimmel & @alexfriesen do work, though also .cdk- selectors are now needed.)

gabrielnemeth commented 1 year ago

@rvalimaki what do you mean by adding mdc based selectors? I don't use any CSS selectors in my code for the scroll table but the header is still broken even after the latest update.

alvipeo commented 1 year ago

I have the same problem - header just moves down outside of viewport after some scrolling. Is there anything I can do with it?

diprokon commented 1 year ago

Hi all. Sorry for such delay Update for the ng15 is in progress and new version with fixes will be soon