[bugfix] Swipe: transitionend event bubble (#2355)

This commit is contained in:
neverland 2018-12-22 08:10:50 +08:00 committed by GitHub
parent b6790888d2
commit 71555592bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
@touchmove="onTouchMove"
@touchend="onTouchEnd"
@touchcancel="onTouchEnd"
@transitionend="$emit('change', activeIndicator)"
@transitionend.stop="$emit('change', activeIndicator)"
>
<slot />
</div>
@ -15,6 +15,7 @@
<div
v-if="showIndicators && count > 1"
:class="b('indicators', { vertical })"
@transitionend.stop
>
<i
v-for="index in count"