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"
|
||||
@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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user