fix(dropdown): unexpectedly hidden(#7246) (#7254)

pull/7288/head^2
somethingfornothing 11 months ago committed by GitHub
parent 2cdb69f706
commit 502c11cc4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -215,7 +215,9 @@ export default defineComponent({
) {
return;
}
this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
if (this.isMouseLeaveToHide()) {
this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
}
const { vcTriggerContext = {} } = this;
if (vcTriggerContext.onPopupMouseleave) {
vcTriggerContext.onPopupMouseleave(e);

Loading…
Cancel
Save