diff --git a/docs/changelog/v2.0.md b/docs/changelog/v2.0.md index 7e1bb2e92..e45b6db2f 100644 --- a/docs/changelog/v2.0.md +++ b/docs/changelog/v2.0.md @@ -502,4 +502,9 @@ Fixes single use of `highlight.contentStyle` or `highlight.contentClass` * Dependabot updates ### Improvements -* Remove custom click detection handlers for Mobile Safari \ No newline at end of file +* Remove custom click detection handlers for Mobile Safari + +## v2.3.4 + +### Bug Fixes +* Fix event removal in date picker \ No newline at end of file diff --git a/package.json b/package.json index 3c4f5873c..2b56cbcbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "v-calendar", - "version": "2.3.3", + "version": "2.3.4", "private": false, "description": "A clean and extendable plugin for building simple attributed calendars in Vue.js.", "author": "Nathan Reyes ", diff --git a/src/components/DatePicker.vue b/src/components/DatePicker.vue index 8309369a2..73263b390 100644 --- a/src/components/DatePicker.vue +++ b/src/components/DatePicker.vue @@ -366,7 +366,7 @@ export default { }, destroyed() { off(document, 'keydown', this.onDocumentKeyDown); - on(document, 'click', this.onDocumentClick); + off(document, 'click', this.onDocumentClick); }, methods: { getDateParts(date) {