Open mtsh1000 opened 1 year ago
I have exactly the same issue, is this being checked out? Or does anyone have a temporary workaround? Thanks!
It is still in Status:Triage and I have not looked into it nor PrimeTek yet. You are more than welcome to investigate and suggest a fix.
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment!
commenting to keep this issue open.
Describe the bug
When DataTable with VirtualScroller is used in container that uses calculated height i.e.: calc(100vh-20px), when you decrease viewport size and scroll, then the current height of DataTable persists when the viewport is extended again until page refresh.
Reproducer
https://codesandbox.io/s/primereact-data-table-with-virtual-scroller-selection-errors-forked-r8vo31
PrimeReact version
9.4
React version
18.x
Language
ES6
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The height of the table should follow the height of the viewport