vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.32k stars 3.8k forks source link

Popconfirm cannot be closed by losing focus while using the visible property #4464

Closed tuikoushui closed 3 years ago

tuikoushui commented 3 years ago

Version

1.7.2

Environment

win10,chrome9,vue2.6.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Create Popconfirm and use the visible property, then click anywhere but Popconfirm

What is expected?

Popconfirm was closed

What is actually happening?

Popconfirm is not closed


Is there a maskClosable property similar to modal to control it?

zkwolf commented 3 years ago

you can use visibleChange like this https://codesandbox.io/s/vue-antd-template-forked-dvokw?file=/src/App.vue

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.