diprokon / ng-table-virtual-scroll

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

sticky header scrolling with content #4

Open jvinhit opened 4 years ago

jvinhit commented 4 years ago

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

diprokon commented 4 years ago

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

JohnKis commented 4 years ago

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 commented 4 years ago

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

victoriaunizhona commented 4 years ago

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

diefenbach commented 3 years ago

FWIW, it works for me, when I use

<table mat-table ... >

instead of

<mat-table ... >

eduardosoller commented 2 years ago

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?

zr87 commented 2 years ago

This is a know issue in material table. Check this for more info: https://github.com/angular/components/issues/21576#issuecomment-766975065

yudhi115 commented 1 year ago

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