angular / angular/components

feat(cdk/scrolling): Add support for nested for loop

未关闭
#24,008 6 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
area: cdk/scrolling feature P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Feature Description

The Angular Material cdk-virtual-scroll-viewport property is not working correctly for nested *ngFor. The viewport is split into two and the scroll does not work as expected. Please assist in listing in viewport with parent and child.

### Use Case

```


{{ parent.name }}




{{ child.name }}




```

贡献指南

打开贡献指南

调研方向

从 cdk-virtual-scroll-viewport 入口点开始,复现 issue 中嵌套的 *ngFor 示例。调查 viewport 为何被拆分且滚动失败,然后验证父项和子项是否会一起渲染并按预期滚动。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。