Dialogue - overflow scrolling on small screens and margins
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
The current dialogue does not seem to support sizing and scrolling on smaller screen sizes / small devices. This was possible on the material 1 dialogue. If the vertical height of the screen was incredibly small scrollbars would appear see this screenshot:

With version 2 - the dialogue is pushed off the screen and no scrollbars ever appear in the middle. It does not maintain any margins on the top or bottom.

Maybe there is this a means this can be achieved but the examples are quite primitive.
#### What is the expected behavior?
When screen is decreased in size scrollbars should appear for the content.
#### What is the current behavior?
The current dialogue is pushed off the screen with no margin at the top or bottom. The content remains the same size
#### What are the steps to reproduce?
Providing a Plunker (or similar) is the *best* way to get the team to see your issue.
https://plnkr.co/edit/DrI42Su0v6OntJkjUNOI?p=preview
#### What is the use-case or motivation for changing an existing behavior?
The current modal is only useful for very simple use cases.
#### Which versions of Angular, Material, OS, browsers are affected?
Latest.
#### Is there anything else we should know?
Beitragsleitfaden
Rechercherichtung
Beginne mit der verknüpften Plunker-Reproduktion und untersuche das Verhalten des Angular Material-Dialogs bei kleinen Viewport-Höhen. Vergleiche die aktuelle Version mit dem beschriebenen Verhalten von Material 1 und konzentriere dich auf vertikale Ränder und den Überlauf des Inhalts. Die Aufgabe ist abgeschlossen, wenn der Dialog innerhalb des Viewports bleibt und sein Inhalt scrollbar wird, wenn der Bildschirm zu kurz ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100