Angular 如何在Modal中增加cdk视口的高度?
因此,目前我有一个使用angular*cdkVirtualFor的表Angular 如何在Modal中增加cdk视口的高度?,angular,angular2-template,viewport,angular-cdk,angular-cdk-virtual-scroll,Angular,Angular2 Template,Viewport,Angular Cdk,Angular Cdk Virtual Scroll,因此,目前我有一个使用angular*cdkVirtualFor的表 *cdkVirtualFor=" let info of observable | async; index as i; templateCacheSize: 50 " 我有css和所有我能看到表中所有数据的东西 但
*cdkVirtualFor="
let info of observable | async;
index as i;
templateCacheSize: 50
"
我有css和所有我能看到表中所有数据的东西
但当我在bootstrap模式中打开同一个表时,我只能看到表中15个项目中的10个。我不知道为什么。我已经增加了100%的最大高度等级,但什么都没有发生。但是,如果它不在模态中,它会显示所有15个
如何增加或设置它以显示模式中的所有数据