Open incutonez opened 8 months ago
I just want to note this is a common issue when using virtual scrolling. It seems that the frozen column offsets should be recalculated when the cells re-render due to data changes, but this does not happen by default. There isn't currently any event fired when this occurs, so it's very difficult to handle outside the component itself.
Describe the bug
When you have a horizontal scrollbar present with frozen columns, and the data changes to make these frozen columns a bit wider, the frozen columns shift when horizontally scrolling.
Reproducer
https://stackblitz.com/edit/3nra9g-l7cch5?file=src%2FApp.vue
PrimeVue version
3.49.x
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Firefox
Steps to reproduce the behavior
Change Data
buttonExpected behavior
The 2nd ID column should not shift. Video