angular / angular/components

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

Ouverte
#31,386 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area: material/expansion P4 safari
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par la reproduction sur StackBlitz, en particulier avec src/example/expansion-overview-example.html, et reproduisez le problème en redimensionnant la fenêtre alors que le panneau d’expansion est ouvert dans Safari. Comparez le comportement avec Chrome et vérifiez que le corps du panneau développé se redimensionne sans débordement du contenu, sans qu’il soit nécessaire de le fermer et de le rouvrir.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.