Some Mat SVG Icons disappear on mat-sidenav close
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-7-master-svg1
Steps to reproduce:
1. Setup shared components for svg icon, sidebar content and page content alongside the ability to toggle mat-sidenav.
2. Toggle Sidenav and see all svg icons on the page get disappeared on sidenav close and re-appear on sidenav open.
#### Expected Behavior
No svg icon should disappear from the page.
#### Actual Behavior
Toggling Sidenav makes all svg icons on the page disappear on sidenav close and re-appear on sidenav open. Moreover, if you inspect the html output of page and components, you will see that svg icons are still present there, with no change in attributes, html, etc. Furthermore, this bug happens with some icons only (not sure what is the differentiator as there's dozens of icons in our locally under-development app that exhibit this weird bug, but there are also some that don't), for example, svg icon in this stackblitz works correctly. https://stackblitz.com/edit/angular-7-master-svg2
#### Environment
- Angular: 7.2.8
- CDK/Material: 7.3.3
- Browser(s): Google Chrome Version 75.0.3770.100 (Official Build) (64-bit) and Version 71.0.3578.80 (Official Build) (64-bit)
- Operating System (e.g. Windows, macOS, Ubuntu): Cent OS and Windows 10
コントリビューションガイド
調査の方向性
リンクされた2つの StackBlitz 再現、angular-7-master-svg1 と angular-7-master-svg2 から始め、mat-sidenav のトグル動作を SVG アイコンと比較します。mat-sidenav と Material SVG アイコンの相互作用を追跡し、sidenav をトグルしても、現在消えてしまうアイコンを含むすべての SVG アイコンが表示されたままになることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100