angular / angular/components

Scope dialog to a subsection of the DOM rather than the whole page

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

描述

#### Bug, feature request, or proposal:
Feature

#### What is the expected behavior?
It would be nice to have an option that set how a modal should be opened.

For example with material for AngularJS : https://material.angularjs.org/latest/demo/dialog

![image](https://cloud.githubusercontent.com/assets/4950209/23166647/b2c49986-f841-11e6-9fa5-0b313d86abfa.png)

Give :
![image](https://cloud.githubusercontent.com/assets/4950209/23166658/be54848c-f841-11e6-96e1-9cd5d8440c25.png)

(it's not opened on the whole page).

There's an option for that :
![image](https://cloud.githubusercontent.com/assets/4950209/23166677/d4b6e332-f841-11e6-9904-b0678e27e5a5.png)

(gives the following)
![image](https://cloud.githubusercontent.com/assets/4950209/23166699/ecabff5e-f841-11e6-8fc1-cceb32b38607.png)

#### What is the current behavior?
A modal is opened in full page

贡献指南

打开贡献指南

调研方向

未指定文件、测试或入口点。首先定位对话框实现,并检查它当前如何在整个页面上打开。完成标准是提供一个选项,将模态框限制在选定的 DOM 子区域内,并与所提供的 AngularJS 示例一致。

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

评估

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

把新 issue 发到你的邮箱

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