From 9367968a826fa9debaebce45d87ddf97b7a40ac3 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 10 Apr 2018 17:49:54 +0800 Subject: [PATCH] [bugfix] Swipe: stop touch event propagation (#846) --- packages/swipe/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/swipe/index.vue b/packages/swipe/index.vue index 97c8752d9..520159da7 100644 --- a/packages/swipe/index.vue +++ b/packages/swipe/index.vue @@ -140,6 +140,7 @@ export default create({ if (this.direction === 'horizontal') { event.preventDefault(); + event.stopPropagation(); this.deltaX = event.touches[0].clientX - this.startX; this.move(0, this.range(this.deltaX, [-this.width, this.width])); }