From cf6ba30b48b79b6476af42e759d283cd85465306 Mon Sep 17 00:00:00 2001 From: Robert Reinhard Date: Mon, 11 Dec 2023 07:14:27 -0800 Subject: [PATCH] 2.3.3 --- index.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 457e3e9..c48ff43 100644 --- a/index.js +++ b/index.js @@ -1173,7 +1173,9 @@ notPassive = { window.removeEventListener('mouseup', this.onPointerUp, passive); window.removeEventListener('touchmove', this.onPointerMove, passive); window.removeEventListener('touchend', this.onPointerUp, passive); - return window.removeEventListener('touchmove', this.onWinMove, notPassive); + window.removeEventListener('touchmove', this.onWinMove, notPassive); + window.removeEventListener('contextmenu', this.onPointerUp, passive); + return window.removeEventListener('touchmove', this.stopEvent, notPassive); }, computed: { // The current slide or page index. It rounds differently depending on the diff --git a/package.json b/package.json index 99a7f5e..8d37151 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-ssr-carousel", - "version": "2.3.2", + "version": "2.3.3", "description": "A performance focused Vue carousel designed for SSR/SSG environments.", "main": "index.js", "scripts": {