This page gives an example of how to use MdDialog but it does not surround the dialog contents with
https://github.com/angular/material2/tree/master/src/lib/dialog
(I assume it is always required. The description of md-dialog-content is: "Scrollable content of the dialog." does not say that it's only required if scrolling is desired.)
It's not required, and you can implement scrolling without it by using CSS
@crisbeto can you add an example for this once the examples are moved to the material2 repo in #2781?
For reference:
<p md-dialog-title>{{ title }}</p>
<md-dialog-content>
<p>{{ message }}</p>
</md-dialog-content>
<md-dialog-actions>
<button md-raised-button md-dialog-close>{{closeText}}</button>
<button type="button" md-raised-button *ngIf="enableNext"
(click)="dialogRef.close(true)">{{nextText}}</button>
</md-dialog-actions>
This snippet demonstrates several things:
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._
Most helpful comment
For reference:
This snippet demonstrates several things: