[Tabs] Dynamic height does not work when content has changed
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### 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~~
コントリビューションガイド
調査の方向性
リンクされたStackBlitzの再現コードから始め、特にsrc/app/app.component.htmlを確認し、dynamicHeightに関するAngular Materialのタブ実装を調べてください。コンテンツを動的に追加してタブを切り替えることで問題を再現してください。タブの高さのトランジションで更新後のコンテンツサイズが使用されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100