angular / angular/components

feat(BottomSheet): Allow custom container/overlay in which to render the bottom sheet

オープン
#21,592 コメント 2 件 リアクション 7 件 担当者 0 名 GitHub で見る
area: cdk/overlay area: material/bottom-sheet feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Feature Description

Allow uses to customize where the bottom sheet is attached, other than the body.

#### Use Case

Single page web applications have many components, it would be nice to association the bottom sheet with specific components visually.

This is similar to https://github.com/angular/components/issues/7764. Both components define a viewContainerRef, however that does nothing in regards to bottom sheet placement with in the DOM.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず Angular Material の bottom-sheet 実装と viewContainerRef の処理を読み、次に配置要件をリンク先の Angular components issue と比較します。アプリケーションが常に bottom sheet を body にアタッチするのではなく、カスタムのコンテナと overlay を選択できるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。