metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.53k stars 602 forks source link

Fade broken with 2 slides & wrapAround #903

Closed FuruholmAnton closed 5 years ago

FuruholmAnton commented 5 years ago

Hi, I have an issue with the new fade. It doesn't always fade when changing slide, but instead just switches without any animation. I created an example on Codepen where you could check it out.

https://codepen.io/Furuholm/pen/PVBWMV

desandro commented 5 years ago
  1. You should disable contain option, if you have fade enabled. contain is designed for sliding animation and will likely cause issues with fading
  2. flickity-fade as another bug with only two slides and wrapAround. I'm tracking that at metafizzy/flickity-fade#1

Closing here as a duplicate. Follow there for updates.