Skip to content

Dialog with fixed height less than 100% has 2 scrollbars #6584

Open
@tytskyi

Description

@tytskyi

Bug

What is the expected behavior?

Dialog with fixed height, that is less than 100% to have only one scroll bar - for content section.

What is the current behavior?

Dialog has 2 scrollbars - 1 for content and 1 for the whole dialog.

What are the steps to reproduce?

https://plnkr.co/edit/1teyLZLR7MVsrZLPD94V?p=preview

What is the use-case or motivation for changing an existing behavior?

2 scrollbars is weak user-experience.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Browsers: Chrome (Windows 10, Lunix Ubuntu 16.04 LTS), IE11 (Windows 10)
Material: 2.0.0-beta.6, 2.0.0-beta.8
OS, Typescript - not applicable

Is there anything else we should know?

Probably the same is applicable to fixed width, but lets not noise the issue with it.

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