Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 54eef7b

Browse files
author
Łukasz Florczak
committed
Slide swipe fix
1 parent 95fe355 commit 54eef7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Agile.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@
540540
},
541541
542542
dragDistance () {
543+
if (!this.mouseDown) {
544+
return false
545+
}
546+
543547
if (this.dragDistance > this.swipeDistance) {
544548
if (!this.settings.infinite && this.currentSlide === 0) {
545549
return

0 commit comments

Comments
 (0)