Describe the bug
When I attempt to use scrollHeight="flex" on the DataTable when using the VirtualScroller, I seem to get no height on my Table, the header is visible but no columns are seen, this includes the column header.
In my actual codebase, I noticed that sometimes, if the width is less than 1400px, it'll actually give height to the Datatable, but I cannot make that reproducible in the Stackblitz project
Reproducer
https://stackblitz.com/edit/xf281zjf?file=src%2FApp.jsx
System Information
npmPackages:
primereact: 10.9.6 => 10.9.6
react: 18.3.1 => 18.3.1
Steps to reproduce the behavior
- Ensure scrollHeight is set to 'flex' or '100%' etc...
- Widen the demo to be majority of the screen
- Run code, notice there is no height on the grid
- Sometimes for a brief moment you can see the columns appear and then disappear
Expected behavior
I feel like with this setup, I should have height on my DataTable, but it always seems to have a height of 0.
Describe the bug
When I attempt to use scrollHeight="flex" on the DataTable when using the VirtualScroller, I seem to get no height on my Table, the header is visible but no columns are seen, this includes the column header.
In my actual codebase, I noticed that sometimes, if the width is less than 1400px, it'll actually give height to the Datatable, but I cannot make that reproducible in the Stackblitz project
Reproducer
https://stackblitz.com/edit/xf281zjf?file=src%2FApp.jsx
System Information
npmPackages: primereact: 10.9.6 => 10.9.6 react: 18.3.1 => 18.3.1Steps to reproduce the behavior
Expected behavior
I feel like with this setup, I should have height on my DataTable, but it always seems to have a height of 0.