[Sidenav] Issue when container and sidenav in different components
オープン
area: material/sidenav
feature
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Bug, feature request, or proposal:
I have the template like this:
``
` `
`...`
``
`` is:
``
` ...`
``
When I have my sidenav in two components like this, the mode "**side**" is not working anymore. The mode switch to "**over**".
When I have all in the same component, it's working.
I think it's due to a another tag between and and it break the css rules.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 5.0.1
コントリビューションガイド
調査の方向性
まず、mat-sidenav-container と mat-sidenav を別々のコンポーネントに配置して、Angular Material 5.0.1 で報告されたテンプレートを再現し、その後、同じコンポーネントに配置した構成と比較します。sidenav を my-component にネストした場合でも、mode="side" が有効なままで、mode="over" に切り替わらなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100