Open gcjjyy opened 5 years ago
cd-virtual-scroll-viewport should be displayed normally.
Height is zero. So it shows nothing.
https://stackblitz.com/edit/angular7-virtual-scroll-issue-s9twhk
Angular + AngularMaterial + CDK Virtual Scroll Viewport
It's very easy to reproduce. Refer to my stackblitz link.
mat-tab-group adds some flex containers that need to be expanded to get the height: 100% to work, https://stackblitz.com/edit/angular7-virtual-scroll-issue-9xhc2c?file=src/app/app.component.css
height: 100%
What is the expected behavior?
cd-virtual-scroll-viewport should be displayed normally.
What is the current behavior?
Height is zero. So it shows nothing.
What are the steps to reproduce?
https://stackblitz.com/edit/angular7-virtual-scroll-issue-s9twhk
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular + AngularMaterial + CDK Virtual Scroll Viewport
Is there anything else we should know?
It's very easy to reproduce. Refer to my stackblitz link.