bug(table): ngOnDestroy clears view before route animations finish
オープン
area: material/table
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Reproduction
https://angular-components-8057.stackblitz.io (updated to 9.2.4)
Steps to reproduce:
1. Navigate to "Page" and the table view is destroyed immediately.
#### Expected Behavior
Table should remain in DOM until animations finish.
#### Actual Behavior
Table is removed from DOM as soon as routing begins.
#### Environment
- Angular: 9.1.9
- CDK/Material: 9.2.4
- Browser(s): Google Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
コントリビューションガイド
調査の方向性
リンクされた StackBlitz の再現から始め、ルーティングが開始されたときに何が起きるかを追跡し、ルートアニメーションが完了する前にテーブルビューが破棄される理由に焦点を当ててください。テーブルがアニメーションの完了まで DOM に残り、再現で即時削除が表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100