bug(expansion panel): height doesnt resize in safari while expanded
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
height of the expansion panel doesnt resize in safari while the panel is expanded
in chrome it works OK
### Reproduction
StackBlitz link: https://stackblitz.com/edit/fcr7qrn2?file=src%2Fexample%2Fexpansion-overview-example.html
Steps to reproduce:
1. resize the window while the panel is open
### Expected Behavior
the expansion panel body height should resize in safari too, just like it does in chrome
### Actual Behavior
the expansion panel body height doesnt resize in safari and content overflows
(note: if i close it and open it again the height is fixed)
### Environment
- Angular: ^19.2.0
- CDK/Material: ^19.2.0
- Browser(s): Safari
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
贡献指南
调研方向
从 StackBlitz 复现开始,尤其是 src/example/expansion-overview-example.html,并在 Safari 中展开面板处于打开状态时调整窗口大小来复现问题。将其行为与 Chrome 进行比较,并确认展开面板的主体能够调整大小而不会导致内容溢出,也不需要将其关闭后重新打开。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100