nolimits4web / swiper

Most modern mobile touch slider with hardware accelerated transitions
https://swiperjs.com
MIT License
39.89k stars 9.74k forks source link

slideNext and slidePrev jump to slide #1222

Closed gfnool closed 6 years ago

gfnool commented 9 years ago

Hi,

this is a bit difficult to catch but I have found that sometimes if you click the next and prev button the swiper jump straight to the (prev slide -1) or (next slide + 1) without showing the slide animation. Then clicking again on the button doesn't move the slider because the active slide is yet there. It happens when you click the button near the end of the transition. It's a bit tricky to get but even the demo shows this bug: http://www.idangero.us/swiper/demos/14-nav-arrows.html

nolimits4web commented 9 years ago

Really, i can't catch it. What is your device/os? Related to this http://www.idangero.us/swiper/forum/#!/bugs-and-issues:nextbuttonprevbutton-doesn ?

gfnool commented 9 years ago

Yes, it's difficult to catch it. Here there's a video in slow motion: https://www.youtube.com/watch?v=ABmxFkGwx44 I've test it in Chrome and Firefox on OSX.

Also, I was wrong, the swiper just skip the animation, it does not jump a slide.

nolimits4web commented 9 years ago

Thanks for the video, but man, i still can't replicate it, also on Chrome/FF/Safari on OSX

cspicuzza commented 9 years ago

I'm having the same exact issue but with the pagination. I'm using the coverflow effect; if you drag the slide you can see it transforming. If you click the pagination it just skips to the slide without animation. It just recently started this in one of the latest updates.

I'm currently using the jquery swiper version 3.0.7. This has been replicated in Chrome/FF

cspicuzza commented 9 years ago

I just wanted to follow up. I was checking out the demo gfnool posted. I saw it's using swiper.min.js instead of jquery.swiper.min.js. I switched to swiper.min.js on my project and now the animations are working.

TLDR: the bug is in jquery.swiper.min.js

webmatrixxxl commented 9 years ago

Hi. I found that I have the same problem OS X 10.4 Chrome Version 44.0.2403.125 (64-bit) Here is a video captured on swiper site: http://quick.as/56wdh5bpw

baptistebriel commented 9 years ago

Same issue here using swiper.min.js. Sometimes, the animation breaks. The current slide disappears and the prev (or) next slide shows up. It looks like it doesn't happen when swiping, but just when using the arrow buttons.

nolimits4web commented 9 years ago

It is issue in Chrome with rendering, nothing can do with it at the moment

gfnool commented 9 years ago

Just to remember that the bug affected also Firefox as mentioned in the 2nd post.

webmatrixxxl commented 9 years ago

There is no problem in FireFox 40.0 on OSX 10.4.4

webmatrixxxl commented 9 years ago

@nolimits4web changing slides on Chrome Version 44.0.2403.157 (64-bit) OSX 10.10.5 is terrible. Still skip the animation if changing slides quick. Can you fix this ?

Works fine in Chorome on Windows

burbanczyk commented 9 years ago

Having the exact same issue in chrome under windows. FF looks fine

nolimits4web commented 6 years ago

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.

If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly: