diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index c1feb7425..d142b990a 100644 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -601,12 +601,12 @@ export default { this.overlayVisible = false; } }; - document.addEventListener('click', this.outsideClickListener); + document.addEventListener('mousedown', this.outsideClickListener); } }, unbindOutsideClickListener() { if (this.outsideClickListener) { - document.removeEventListener('click', this.outsideClickListener); + document.removeEventListener('mousedown', this.outsideClickListener); this.outsideClickListener = null; } },