flickity-fade
flickity-fade copied to clipboard
wrapAround incompatibility with a 2-slide carousel
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.