Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
joerggross opened this issue Jan 9, 2023 · 9 comments
Closed

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

joerggross opened this issue Jan 9, 2023 · 9 comments

Comments

@joerggross
Copy link

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: #107. But this thread is closed.

Is there any update planned?

@TobiDimmel
Copy link

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

@diprokon
Copy link
Owner

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

@danielfnz
Copy link

@diprokon Any progress on this?

@samitjainmca
Copy link

samitjainmca commented Feb 9, 2023

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

@rvalimaki
Copy link

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
Copy link

rvalimaki commented Feb 13, 2023

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
Copy link

gabrielnemeth commented Feb 17, 2023

@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
Copy link

alvipeo commented Feb 17, 2023

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

@diprokon
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants