vue-awesome-swiper
vue-awesome-swiper copied to clipboard
slide change transition events are not emitted properly when using slider with effect property
Vue: 2.5.13 vue-awesome-swiper: 3.1.2
Steps to reproduce
Create a component that uses vue-awesome-swiper. Add an effect property. Listen for slideNextTransitionStart & slidePrevTransitionStart events.
What is Expected? Events are emitted when swiping left/right
What is actually happening?
Events are not always emitted. Seems that the event is occasionaly emitted but not on every left/right swipe When slider is initialized without effect property the events are fired correctly.
Seems that all of the following events are not properly emitted:
slideChangeTransitionStart slideChangeTransitionEnd slideNextTransitionStart slideNextTransitionEnd slidePrevTransitionStart slidePrevTransitionEnd
Even the demos of official site(zh version) have the same issue.Check out here: http://www.swiper.com.cn/api/event/slideNextTransitionEnd.html http://www.swiper.com.cn/api/event/slidePrevTransitionEnd.html
They both are either emitting incorrectly or not emitting at all. Please check it out ASAP.I think it maybe caused by swiper.js version. Because the demos of this site(none-official) just work properly.Here: http://caibaojian.com/swiper-api/event/slideNextTransitionEnd.html
i'm using the 8.3.1 version and i have the same problem onSlideNextTransitionEnd fires only once at swiper mount any way to solve it? do i have to downgrade it?