angular / angular/components

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

Aperta
#31,386 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area: material/expansion P4 safari
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la riproduzione su StackBlitz, in particolare con src/example/expansion-overview-example.html, e riproduci il problema ridimensionando la finestra mentre il pannello di espansione è aperto in Safari. Confronta il comportamento con Chrome e verifica che il corpo del pannello espanso venga ridimensionato senza overflow del contenuto, senza doverlo chiudere e riaprire.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.