Proposal: remove background-color from .mat-drawer-container
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
Proposal: remove `background-color` from `.mat-drawer-container`
#### What is the expected behavior?
The common background that I've set in my app appears on a page with a drawer
#### What is the current behavior?
Putting a drawer on a page requires putting the page contents inside `md-drawer-container` which comes with `background-color` set that overrides any app background that's been set.
#### What are the steps to reproduce?
Add a drawer to a page with a non-standard background
#### What is the use-case or motivation for changing an existing behavior?
Overlays for drawers and sliders are typically supposed to block the majority of the UI. IMHO material shouldn't be providing a background-color for this majority.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
2.0.0-beta.10
#### Is there anything else we should know?
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Angular Material styles nach `.mat-drawer-container` und dem Einstiegspunkt der `md-drawer-container`-Komponente zu durchsuchen, und reproduziere anschließend das Problem mit einem nicht standardmäßigen App-Hintergrund und einem Drawer. Erledigt ist die Aufgabe, wenn der App-Hintergrund hinter dem Inhalt der Drawer-Seite sichtbar bleibt, ohne das Verhalten des Drawers zu beeinträchtigen, und relevante Tests aktualisiert oder hinzugefügt wurden, sofern dieser Bereich abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 48/100