I have encountered a problem with the DataTable component from the Primevue library.
When I assign pagination to a table and set several frozen columns, if I switch the number of rows displayed in the paginator and switch between pages, gaps quickly appear between the frozen columns. Some frozen columns may also shift when scrolling horizontally.
There's no exact scenario to reproduce this bug, but if you repeatedly switch the number of rows, scroll horizontally, and switch pages, you'll see it fairly quickly.
How to fix this wrong behavior?