Skip to content

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

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

Open
quyingyong opened this issue Oct 22, 2024 · 3 comments

Comments

@quyingyong
Copy link

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

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

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

@TerryZ
Copy link
Owner

TerryZ commented Oct 22, 2024

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

@quyingyong
Copy link
Author

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

@quyingyong
Copy link
Author

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

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