-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrapAround incompatibility with a 2-slide carousel #1
Comments
Thanks for reporting this issue. I'll take a look. |
Bumping, have the same issue. |
Also have same issue |
Hey @desandro any intel on this? This is sort of a dealbreaker. Super hard to explain this to a client. 😬 If this is just a quick fix to the opacity math I might be up for it. |
Also running into the same issue |
@albell I also needed this for a client and a quick/dirty fix I found was to leave fade set to true and update my CSS to:
|
Just to confirm @laurelstreng fix worked for us perfectly. Thanks :) |
I also had a similar issue, though not with fading. I have four cells in view which flickered when sliding. using the fix above by @laurelstreng and setting initial opacity to 1. Thanks for the fix :) |
Same here. Any updates planned? I know that Metafizzy is now lower priority, but is there any roadmap? |
+1 on a fix here. |
Same problem in our end too. |
Thank you +1 |
+1 :) |
Thanks for the fix! +1 for a better one @desandro 😄 |
I think I have a potential fix for this issue. It might not be the root cause, but it works great for me. |
I am also having this issue. Any fixes coming? It is a particular problem in a CMS driven site, where the client sometimes only uploads 2 images to a gallery component. |
This still isn't fixed :( |
+1 for this issue! Still a problem, though @laurelstreng's solution worked for now. |
facing the same problem. +1 for a fix @desandro |
Thanks @laurelstreng - your fix worked a treat! |
Why was this closed? Still having this issue. |
I am also having the same problem and i don't know how to explain this issue for the client so i decided to start using the swiper plugin, it covers this issue and many other issues. |
@laurelstreng Thank you so much! You saved me. |
Just as a heads up: Be careful if you are sticking with Swiper and using lots of images. I am currently migrating a huge e-com from Swiper to Flickity because it was not able to scale - having more than 15 images on the same slider was freezing the page. Between all the most popular alternatives (Flickity, Slick, Swiper, Owl Carousel), Flickity was the only one able to properly handle things. (in my experience, of course). |
@laurelstreng you made my day! Your solution fixed it for me too! :) |
Cheers, thanks for the fix. |
@laurelstreng works perfectly, thank you. |
@laurelstreng thanks for the fix! You saved me a headache |
Thanks for the fix @laurelstreng ! |
I love that this is still helping people 3+ years later 😄 |
When there are two slides and wrapAround option is true, the fade is mucked up. It looks like the opacity values are being set as a negative number for one slide (0 ... -1) and values above 1 for the other slide (1 ... 2). The result is that the carousel immediately jumps to the next slide rather than fading.
Test case: https://codepen.io/jnicol/pen/daVWQB
If there are 3 or more slides then the issue is not present.
The text was updated successfully, but these errors were encountered: