When using a table with virtualscroll feature and a bunch of frozen columns the vertical scrolling seems broken, especially going upwards.
On the interface you notice a rows jump effect caused probably by a wrong slice offset handled.
The onScrollIndexChange callback is emitting twice going upwards with two different indexes
Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. :sparkles: Thank you for your contribution! :sparkles:
Describe the bug
When using a table with virtualscroll feature and a bunch of frozen columns the vertical scrolling seems broken, especially going upwards. On the interface you notice a rows jump effect caused probably by a wrong slice offset handled. The onScrollIndexChange callback is emitting twice going upwards with two different indexes
Environment
Tried both on local environment and stackblitz
Reproducer
https://stackblitz.com/edit/es8wpw-ixccng
Angular version
17.3.12
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
It should respect the correct offset slice to be renderer on viewport / pre-rendered tolerated items