diff --git a/antdv-demo b/antdv-demo
index 14ab398a9..ea1f79e54 160000
--- a/antdv-demo
+++ b/antdv-demo
@@ -1 +1 @@
-Subproject commit 14ab398a9ab7db3507776aa9905afe5b4811be21
+Subproject commit ea1f79e54d2bcd38bfd8fb60cc9d2954c2c3d467
diff --git a/components/popconfirm/__tests__/__snapshots__/index.test.js.snap b/components/popconfirm/__tests__/__snapshots__/index.test.js.snap
index c2e556cd8..16ecc95ba 100644
--- a/components/popconfirm/__tests__/__snapshots__/index.test.js.snap
+++ b/components/popconfirm/__tests__/__snapshots__/index.test.js.snap
@@ -2,13 +2,17 @@
exports[`Popconfirm should show overlay when trigger is clicked 1`] = `
-
-
+
+
+
+
-
+
-
+
diff --git a/components/popconfirm/__tests__/index.test.js b/components/popconfirm/__tests__/index.test.js
index 1ff2cf40b..c2ecbdbe1 100644
--- a/components/popconfirm/__tests__/index.test.js
+++ b/components/popconfirm/__tests__/index.test.js
@@ -33,7 +33,7 @@ describe('Popconfirm', () => {
);
let triggerNode = null;
await asyncExpect(() => {
- triggerNode = wrapper.findAll('span').at(0);
+ triggerNode = wrapper.findAll('span')[0];
triggerNode.trigger('click');
});
await asyncExpect(() => {
diff --git a/components/popconfirm/index.jsx b/components/popconfirm/index.jsx
index 9fbe87878..f6d3186d0 100644
--- a/components/popconfirm/index.jsx
+++ b/components/popconfirm/index.jsx
@@ -33,6 +33,7 @@ const Popconfirm = {
onConfirm: PropTypes.func,
onCancel: PropTypes.func,
onVisibleChange: PropTypes.func,
+ 'onUpdate:visible': PropTypes.func,
},
mixins: [BaseMixin],
watch: {
@@ -123,7 +124,13 @@ const Popconfirm = {
const getPrefixCls = this.configProvider.getPrefixCls;
const prefixCls = getPrefixCls('popover', customizePrefixCls);
- const otherProps = omit(props, ['title', 'content', 'cancelText', 'okText']);
+ const otherProps = omit(props, [
+ 'title',
+ 'content',
+ 'cancelText',
+ 'okText',
+ 'onUpdate:visible',
+ ]);
const overlay = (