angular / angular/components

Sticky columns of a native mat-table inside a tab have sticky position always 0px

未关闭
#16,074 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area: material/table P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### What is the expected behavior?
Sticky position of sticky columns should be calculated rightfully always

#### What is the current behavior?
`left` property of sticky columns inside a native-based `mat-table`, when placed inside a `mat-tab`, is always 0px

#### What are the steps to reproduce?
https://angular-material2-issue-pahywc.stackblitz.io

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.2.15
Material: 7.3.7
OS: W10
TypeScript: 3.2.4
Browser: all

贡献指南

打开贡献指南

调研方向

从链接的 StackBlitz 复现开始,比较基于原生元素的 mat-table 在 mat-tab 内外的粘性列偏移量。跟踪 mat-table 的粘性位置计算,并验证左侧偏移量是否会重新计算为正确的值,而不是仍然保持为 0px。

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

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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