DevCloudFE / ng-devui

Angular UI Component Library based on DevUI Design
https://devui.design
MIT License
1.75k stars 210 forks source link

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

Open zhangbiao-coder opened 8 months ago

zhangbiao-coder commented 8 months ago

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 commented 7 months ago

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