Skip to content

Commit 472768c

Browse files
committed
2.4.2
1 parent 83e8def commit 472768c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,9 @@ notPassive = {
13841384
methods: {
13851385
// Cancel an Event
13861386
stopEvent: function (e) {
1387-
return e.preventDefault();
1387+
if (e.cancelable) {
1388+
return e.preventDefault();
1389+
}
13881390
},
13891391
// Keep track of whether user is dragging
13901392
onPointerDown: function (pointerEvent) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-ssr-carousel",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"description": "A performance focused Vue carousel designed for SSR/SSG environments.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)