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

sticky header scrolling with content #4

Open
jvinhit opened this issue Jan 8, 2020 · 8 comments
Open

sticky header scrolling with content #4

jvinhit opened this issue Jan 8, 2020 · 8 comments

Comments

@jvinhit
Copy link

jvinhit commented Jan 8, 2020

In angular version 7.x sticky header + fixed width not work
Data source length: 1000

@diprokon
Copy link
Owner

diprokon commented Jan 9, 2020

Hi @jvinhit !
I cannot reproduce Your issue.
Can You, please, provide an example?

@JohnKis
Copy link

JohnKis commented Feb 12, 2020

I was able to reproduce it using Safari and the demo page: https://diprokon.github.io/ng-table-virtual-scroll/#/examples

It seems that Safari behaves differently when using sticky headers on a translated element. The bottom line is that that negative offset is not required on the table headers when using Safari.

@jvinhit
Copy link
Author

jvinhit commented Feb 13, 2020

ovide an example?
Hi @diprokon
When you scroll faster => sticky header will be scroll "incorect". I think this bug of virtual scrolling material.

@victoriaunizhona
Copy link

victoriaunizhona commented Apr 10, 2020

The same issue for me. In the new chrome and Firefox with a lot of elements

@diefenbach
Copy link

FWIW, it works for me, when I use

<table mat-table ... >

instead of

<mat-table ... >

@eduardosoller
Copy link

Hello
im having this same issue right now...
Always when scroll up, the stick header "unstick" from the top of the table in Chrome.
Also i adapted my table to looks like the demo - table with sticky header
Im using Angular 9 and ng-table-virtual-scroll 1.3.*
Is there any fix for this already?

@ZRktty
Copy link

ZRktty commented Apr 8, 2022

This is a know issue in material table. Check this for more info:
angular/components#21576 (comment)

@yudhi115
Copy link

this works find when I use latest version "ng-table-virtual-scroll": "^1.6.0",

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

No branches or pull requests

8 participants