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

🐛 [Bug]: dialog组件,打开modal框的时候,配置buttons属性为空数组,模态框底部区域出现大片留白 #345

Open
zhangbiao-coder opened this issue Feb 26, 2024 · 1 comment

Comments

@zhangbiao-coder
Copy link

Version

16.2.0

Angular Version

16.2.0

Link to minimal reproduction

//当配置弹框属性buttons为空数组时出现
const result = this.dialogservices.open({
buttons:[]
});

Step to reproduce

//当配置弹框属性buttons为空数组时出现
const result = this.dialogservices.open({
buttons:[]
});

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

1
2
3

@foolmadao
Copy link

不需要按钮的建议使用modal,dialog几个区域固定了位置样式,我们后续看下是否需要做动态优化判断。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants