fix: dropdown contextmenu, close #5259
parent
2ec21c95a7
commit
ad06a9ee05
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue