You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure why but slideChangeTransitionStart calls for some reason if initialSlide is > 0. It does not call if initialSlide is 0. This has caused my program to break a fair bit when migrating to this library as for some reason the swiper object is destroyed when this event initially occurs.
Flow is: initial slide>0 -> create swiper object success -> slideChangeTransitionStart calls -> swiper object is destroyed
Expected Behavior
I expect this event not to take place and for the swiper object to not be destroyed
Hello @shapebuster. Please provide a online reproduction by codesandbox or a minimal GitHub repository. You can fork one of our demos in codesandbox to get start. Issues labeled by missing demo will be closed if no activities in 3 days.
Check that this is really a bug
Reproduction link
d
Bug description
Not sure why but slideChangeTransitionStart calls for some reason if initialSlide is > 0. It does not call if initialSlide is 0. This has caused my program to break a fair bit when migrating to this library as for some reason the swiper object is destroyed when this event initially occurs.
Flow is: initial slide>0 -> create swiper object success -> slideChangeTransitionStart calls -> swiper object is destroyed
Expected Behavior
I expect this event not to take place and for the swiper object to not be destroyed
Actual Behavior
No response
Swiper version
11
Platform/Target and Browser Versions
ionic mobile
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: