vue-awesome-swiper icon indicating copy to clipboard operation
vue-awesome-swiper copied to clipboard

slide change transition events are not emitted properly when using slider with effect property

Open tomtom7 opened this issue 6 years ago • 2 comments

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

tomtom7 avatar Mar 01 '18 19:03 tomtom7

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

kid1412621 avatar Jul 11 '18 05:07 kid1412621

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?

majkl-zumberi avatar Jul 22 '22 08:07 majkl-zumberi