Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MdDialog Content Overflow #2042

Closed
manuelmoyaroldan opened this issue Dec 1, 2016 · 4 comments · Fixed by #2090
Closed

MdDialog Content Overflow #2042

manuelmoyaroldan opened this issue Dec 1, 2016 · 4 comments · Fixed by #2090
Assignees

Comments

@manuelmoyaroldan
Copy link

Bug, feature request, or proposal:

When the content of a MdDialog overflows the height of the browser, the content is hidden.

What is the expected behavior?

Scroll the content of MdDialog

What is the current behavior?

The content overflowed is hidden.

What are the steps to reproduce?

http://plnkr.co/edit/9S2ZUzQTmquS4sjmjuoO?p=preview

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

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

Last/Last Material

Is there anything else we should know?

@crisbeto
Copy link
Member

crisbeto commented Dec 1, 2016

I had some plans on addressing this, but it depends on #1962

@crisbeto crisbeto self-assigned this Dec 1, 2016
@fxck
Copy link
Contributor

fxck commented Dec 1, 2016

probably part of #1624 as md-dialog-content will likely have max-height and overflow auto

@crisbeto
Copy link
Member

crisbeto commented Dec 1, 2016

That one might be a little tricky @fxck. AFAIK we don't have the ability to project elements to multiple slots, yet.

@crisbeto crisbeto added the has pr label Dec 6, 2016
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 6, 2016
Adds the following dialog-specific directives:
* `md-dialog-close` - Closes the current dialog.
* `md-dialog-title` - Title of a dialog.
* `md-dialog-content` - Scrollable content for a dialog.
* `md-dialog-actions` - Container for the bottom buttons in a dialog.

Fixes angular#1624.
Fixes angular#2042.
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 6, 2016
Adds the following dialog-specific directives:
* `md-dialog-close` - Closes the current dialog.
* `md-dialog-title` - Title of a dialog.
* `md-dialog-content` - Scrollable content for a dialog.
* `md-dialog-actions` - Container for the bottom buttons in a dialog.

Fixes angular#1624.
Fixes angular#2042.
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 14, 2016
Adds the following dialog-specific directives:
* `md-dialog-close` - Closes the current dialog.
* `md-dialog-title` - Title of a dialog.
* `md-dialog-content` - Scrollable content for a dialog.
* `md-dialog-actions` - Container for the bottom buttons in a dialog.

Fixes angular#1624.
Fixes angular#2042.
jelbourn pushed a commit that referenced this issue Dec 16, 2016
* feat(dialog): add dialog content elements

Adds the following dialog-specific directives:
* `md-dialog-close` - Closes the current dialog.
* `md-dialog-title` - Title of a dialog.
* `md-dialog-content` - Scrollable content for a dialog.
* `md-dialog-actions` - Container for the bottom buttons in a dialog.

Fixes #1624.
Fixes #2042.

* Rename the dialog directives file.

* Add the selectors for Material 1 compatibility.

* Remove the closeTop method and use the dialogRef instead.

* Add an aria-label to the close button and simplify the testing setup.

* Remove redundant element roles.

* Use the computed value on the dialog title font size.

* Remove the letter spacing override on the dialog title.

* Add a comment regarding the negative bottom margin on the dialog actions.
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants