mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Swipe: transitionend event bubble (#2355)
This commit is contained in:
parent
b6790888d2
commit
71555592bb
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user