p-table: Not rendering itself in Virtual Scroll mode after a parent element becomes visible #12912
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
With the latest PrimeNG (15.3.0).
<p-table>
in Virtual Scroll mode doesn't render itself If itsvalue
is updated and<p-table>
is inside adisplay: none;
parent element,<p-table>
displays itself as a zero dimensional block when that parent element becomes visible.It looks similar to a previosly fixed issue #7345.
Could you advice. please?
Environment
Windows 10.
Reproducer
https://stackblitz.com/edit/github-exso2o
Angular version
15.2.7
PrimeNG version
15.3.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
Chrome 112
Steps to reproduce the behavior
If you inspect the p-table HTML element, you could make sure its dimensions are 0 x 0 for some reason.
Expected behavior
After changing the visibility of any p-table's parent element from
display: none;
todisplay: <any of not none>;
, p-table in Virtual Scroll mode must render itself properly.The text was updated successfully, but these errors were encountered: