angular / angular/components

bug(expansion panel): height doesnt resize in safari while expanded

Đang mở
#31,386 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area: material/expansion P4 safari
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với bản tái hiện trên StackBlitz, đặc biệt là src/example/expansion-overview-example.html, và tái hiện vấn đề bằng cách thay đổi kích thước cửa sổ trong khi panel mở rộng đang mở trong Safari. So sánh hành vi với Chrome và xác minh rằng phần nội dung của panel đã mở rộng được thay đổi kích thước mà không làm nội dung bị tràn, không cần đóng rồi mở lại panel.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.