[Tabs] Dynamic height does not work when content has changed
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
#### Bug, feature request, or proposal:
Bug
#### What is the expected behavior?
Tabs should transition height properly when content is added dynamically.
#### What is the current behavior?
Adding content to a tab does not modify the 'base animation height' resulting in weird animations.
#### What are the steps to reproduce?
~~http://plnkr.co/edit/Sccmy7os1nuaELrradRv?p=preview~~
~~http://plnkr.co/edit/ZSBCT8P9xCi04rrKSCu3?p=preview~~
https://stackblitz.com/edit/angular-humdjf?file=src%2Fapp%2Fapp.component.html
Add content dynamically and change tab.
#### Is there anything else we should know?
~~Documentation is missing for dynamicHeight on material.angular.io~~
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la reproduction StackBlitz liée, en particulier src/app/app.component.html, et examinez l’implémentation des onglets Angular Material pour dynamicHeight. Reproduisez le problème en ajoutant du contenu dynamiquement et en changeant d’onglet ; c’est terminé lorsque la transition de hauteur de l’onglet utilise la taille de contenu mise à jour.
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
- 35/100