Components: md-dialog-content is not scrollable

Created on 1 Jul 2017  路  7Comments  路  Source: angular/components

Bug, feature request, or proposal:

the documentation says: Primary scrollable content of the dialog.
While it is not scrollable at all?

What is the expected behavior?

Scroll

What is the current behavior?

overflowing the screen without scrolling:
https://i.imgur.com/epPQEHd.png

What are the steps to reproduce?

Make a big dialog.

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

Would be nice to work as described in the documentation.

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

@angular: ^4.0.0",
@angular/material: ^2.0.0-beta.7

Is there anything else we should know?

no

Most helpful comment

You're supposed to use md-dialog-content as an element:

<md-dialog-content>
your content goes here
</md-dialog-content>

All 7 comments

".mat-dialog-content" is required to have scrolling on the dialog content but its not applied in my case.

You're supposed to use md-dialog-content as an element:

<md-dialog-content>
your content goes here
</md-dialog-content>

I have no scrolling without additionally putting .mat-dialog-content there.
@crisbeto https://pastebin.com/Dz837Pdv
Heres a paste of my code

Sorry about opening the issue, it was resolved after getting rid of this lib https://github.com/Teradata/covalent, (this lib sucks anyways)

I have the latest versions of both Angular material + Teradata Covalent and have none issues with this. I do experience same issue only if I omit the <md-dialog-content>content</md-dialog-content> in my code.

I am on the latest angular-material2 beta-10 and I have to have the .mat-dialog-content class on the md-dialog-content element or I don't get the scrollbars.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vanor89 picture vanor89  路  3Comments

savaryt picture savaryt  路  3Comments

constantinlucian picture constantinlucian  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

jelbourn picture jelbourn  路  3Comments