mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[bugfix] Swipe: transitionend event bubble (#2355)
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
@touchmove="onTouchMove"
|
@touchmove="onTouchMove"
|
||||||
@touchend="onTouchEnd"
|
@touchend="onTouchEnd"
|
||||||
@touchcancel="onTouchEnd"
|
@touchcancel="onTouchEnd"
|
||||||
@transitionend="$emit('change', activeIndicator)"
|
@transitionend.stop="$emit('change', activeIndicator)"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="showIndicators && count > 1"
|
v-if="showIndicators && count > 1"
|
||||||
:class="b('indicators', { vertical })"
|
:class="b('indicators', { vertical })"
|
||||||
|
@transitionend.stop
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
v-for="index in count"
|
v-for="index in count"
|
||||||
|
Reference in New Issue
Block a user