feat(BottomSheet): Allow custom container/overlay in which to render the bottom sheet
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### 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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Angular Material bottom-sheet-Implementierung und ihre Handhabung von viewContainerRef zu lesen, und vergleiche dann die Anforderungen an die Platzierung mit dem verlinkten Angular components issue. Erledigt ist die Arbeit, wenn Anwendungen einen benutzerdefinierten Container und ein benutzerdefiniertes Overlay auswählen können, statt das bottom sheet immer an den body anzuhängen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100