angular / angular/components

MatDialog mat-dialog-actions is not at the bottom of the dialog

未关闭
#4,609 55 条评论 51 个 reaction 已指派 0 人 在 GitHub 查看
area: material/dialog P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Bug:
Angular Material is not placing md-dialog-actions at the bottom

#### What is the expected behavior?
Should be at the bottom

#### What is the current behavior?
Currently, it is placed just after md-dialog-content

#### What are the steps to reproduce?
Add md-dialog-actions
Providing a Plunker (or similar) is the *best* way to get the team to see your issue.
Plunker template: https://plnkr.co/edit/S2D0g6NOPpVRYoc6KA7L?p=preview

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 4, material ^2.0.0-beta.5, os ubuntu 16.04, typescript ~2.0.3, browser : chrome

贡献指南

打开贡献指南

调研方向

从链接的 Plunker 复现开始,检查 md-dialog-content 和 md-dialog-actions 周围的 Angular Material 对话框结构。确认当前放置位置,然后验证添加 md-dialog-actions 后,在受影响的 Angular Material 版本中它会被放置在对话框底部。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。