fix: dropdown contextmenu, close #5259

pull/5280/head
tangjinzhou 2022-02-17 22:06:30 +08:00
parent 2ec21c95a7
commit ad06a9ee05
1 changed files with 4 additions and 1 deletions

View File

@ -376,7 +376,10 @@ export default defineComponent({
!contains(popupNode, target) &&
!this.hasPopupMouseDown
) {
this.close();
// https://github.com/vuejs/core/issues/4462
// vue bug https://github.com/vueComponent/ant-design-vue/issues/5259
//
this.delaySetPopupVisible(false, 0.1);
}
},
getPopupDomNode() {