v-dialogs icon indicating copy to clipboard operation
v-dialogs copied to clipboard

希望DialogModal组件支持backdropClose属性,既点击背景关闭弹框

Open quyingyong opened this issue 1 year ago • 3 comments

感谢项目方的贡献,小而美的组件。 我在使用中发现 DialogModal组件不支持backdropClose属性,既点击背景关闭弹框功能,我试图更新源码,但是由于本人才疏学浅无法做到。希望项目方可以抽空适配一下:

需求: DialogModal组件支持backdropClose属性,既点击背景关闭弹框。

备注:我看了历史更新记录,项目方好像是有支持backdropClose属性的,但是可能是出现了bug,经过测试backdropClose属性无效。

quyingyong avatar Oct 22 '24 06:10 quyingyong

Model 的功能设定上不允许 backdrop close,需要使用这个功能可以考虑换用 Drawer

TerryZ avatar Oct 22 '24 07:10 TerryZ

感谢你的答复、 实际上我需要的是居中显示,并且能够点击背景关闭的弹框。 Drawer 无法居中显示、而Model 无法点击背景关闭。 这有点犯难了,也不知有什么办法实现呢。

quyingyong avatar Oct 22 '24 08:10 quyingyong

前提是我喜欢v-dialogs和这套组件库,也不打算换其他的。

quyingyong avatar Oct 22 '24 08:10 quyingyong