ng-table-virtual-scroll
ng-table-virtual-scroll copied to clipboard
sticky header scrolling with content
In angular version 7.x sticky header + fixed width not work Data source length: 1000
Hi @jvinhit ! I cannot reproduce Your issue. Can You, please, provide an example?
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.
ovide an example? Hi @diprokon When you scroll faster => sticky header will be scroll "incorect". I think this bug of virtual scrolling material.
The same issue for me. In the new chrome and Firefox with a lot of elements
FWIW, it works for me, when I use
<table mat-table ... >
instead of
<mat-table ... >
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?
This is a know issue in material table. Check this for more info: https://github.com/angular/components/issues/21576#issuecomment-766975065
this works find when I use latest version "ng-table-virtual-scroll": "^1.6.0",