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
swiper.slideNext(0) and swiper.slidePrev(0) has no effect, the speed parameter is ignored respectively the transition between slides will still be animated with the default speed
Expected Behavior
The speed parameter should not be ignored respectively setting 0 should has for effect to have instant transition between slide
Additional Context
I also noticed that doing so, once a slideNext(0) or slidePrev(0) is called, then the event ionSlideDidChange will not be triggered anymore. I guess it's related
Problem
I think that the route of the problem is that the order of the parameters is wrong
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Ionic Info
v4-beta.7 / angular
Describe the Bug
swiper.slideNext(0)
andswiper.slidePrev(0)
has no effect, the speed parameter is ignored respectively the transition between slides will still be animated with the default speedRelated Code
Expected Behavior
The speed parameter should not be ignored respectively setting 0 should has for effect to have instant transition between slide
Additional Context
I also noticed that doing so, once a
slideNext(0)
orslidePrev(0)
is called, then the eventionSlideDidChange
will not be triggered anymore. I guess it's relatedProblem
I think that the route of the problem is that the order of the parameters is wrong
in https://github.com/ionic-team/ionic/blob/771c5173c2fe53b94730684330ddfa6bfbb994bb/core/src/components/slides/slides.tsx we have got
in the swiper doc http://idangero.us/swiper/api/
** PR **
I provided a PR #15409
The text was updated successfully, but these errors were encountered: