Skip to content

Dialog using title, content, actions does not work well on small height screens #2775

Open
@andrewseguin

Description

@andrewseguin

Bug, feature request, or proposal:

When using a dialog with the md-dialog-title, md-dialog-content, and md-dialog-actions directives, the dialog does not correctly scale with the screen when the height is reduced.

What is the expected behavior?

The entire dialog should fit into the window while the content height shrinks and is scrollable.

What is the current behavior?

The dialog doesnt quite fit all the way into the window, extends barely past the window

What are the steps to reproduce?

Go into the plunker and shrink the height of the window until the dialog is cut off

https://plnkr.co/edit/LeINuG6ER11R0k8clSYJ?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/dialog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions