DataTable: VirtualScroller breaks when sort is applied #4434
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The DataTable VirtualScroller displays empty table rows when a sort is applied to a column. The issue occurs after:
On the other hand, if a sort is applied and the user scrolls the table slowly (ie one chunk of
{first, last}
at a time, the does not occur. Additionally, if you take the same steps without a sort applied, the DataTable responds as you'd expect.Reproducer
https://codesandbox.io/s/primevue-demo-forked-ssgtwk?file=/src/App.vue
PrimeVue version
3.31.0
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
When a sort is applied to a VirtualScroller DataTable, the table should work the same when a sort applied while scrolling quickly around the table
The text was updated successfully, but these errors were encountered: