angular / angular/components

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

Ouverte
#21,592 2 commentaires 7 réactions 0 personnes assignées Voir sur GitHub
area: cdk/overlay area: material/bottom-sheet feature P4
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

#### 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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par lire l’implémentation de bottom-sheet de Angular Material et sa gestion de viewContainerRef, puis comparez les exigences de placement avec l’issue Angular components liée. Le travail est terminé lorsque les applications peuvent choisir un conteneur et un overlay personnalisés au lieu d’attacher systématiquement le bottom sheet au body.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.