I have been trying to use ag-grid with flex layout, however it doesn't appear to work as expected.
The following stackblitz has a reproduceable example: https://stackblitz.com/edit/angular-zwpdhl
I have the ag-grid sitting under a parent with column flex layout, and the parent itself sits under mat-sidenav-content. My expectation is that ag-grid takes the remaining height in the flex column, and if the grid data is too large, then the grid gets a vertical scrollbar. However what happens is the grid collapses to a horizontal line with no height. I have tried setting the grid position to absolute, with value of 0 for (top, left, right, bottom), but that breaks the flex column because the grid now overlaps other elements in the column. The only workaround seems to set a fixed height to the grid, but that defeats the point of flex layout.
Anyone came across this issue before? Any ideas how to get it to work correctly with flex layout?