bug(COMPONENT): Paged Material Data Table Does Not Expand In Production #19765
Labels
area: material/table
cannot reproduce
The team is unable to reproduce this issue with the information provided
P4
A relatively minor issue that is not relevant to core functions
Reproduction
I've documented it here. Note that I changed the default configured number of forecast periods to 10. This way the App does not look "As broken" because as long as the periods span the table the bug is not there. If the forecast periods are changed to 5 in the configuration tab, then the bug appears.
https://stackoverflow.com/questions/62584549/material-data-table-wraps-rows-but-only-in-production
It is something that happens only after the app is deployed. The table expands fine locally. So it seems that is has something to do with the way Angular is loading CSS during production.
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
I can't because it works fine with local builds.
Expected Behavior
What behavior were you expecting to see?
The table should expand to fit all rows underneath their corresponding column.
Actual Behavior
What behavior did you actually see?
The rows wrap to fill up the remaining space in the right side of thetable.
Environment
The text was updated successfully, but these errors were encountered: