Open anteksiler opened 2 years ago
I'm getting this too. It also happens with Flickity 2.2 + Face 2.0
Same here too, using latest package links:
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://unpkg.com/flickity-fade@2/flickity-fade.js"></script>
Same for me..
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
<link rel="stylesheet" href="https://unpkg.com/flickity-fade@2/flickity-fade.css">
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://unpkg.com/flickity-fade@2/flickity-fade.js"></script>
I'm getting same error. I'm using Flickity v2.2.1 + Face 2.0
I am also experiencing this issue. Fade v1 works with Flickity v2.2 and v2.3, but Fade v2 works with neither version of Flickity.
Fade v1 is not working for me with Flickity 2.3
@desandro Hi David, could you please look into this? I am not sure what the issue is.
+1
I am having this same issue.
+1
Same here. Would be nice to fix this :-)
Downgrading to Flickity 2.2.0 with the Flickity-fade 1.0.0 release worked to solve the issue for me on a new build.
The release tags for flickity-fade say 2.0 is for the flickity 3 release. (see: https://github.com/metafizzy/flickity-fade/releases/tag/v2.0.0)
v2.0.0 for Flickity v3
@desandro any idea if you will be able to look at this any time soon?
Thanks!
+1
+1
+1 but the solution from @alphex helped!
Use fade v1 with filckity v2 :
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://unpkg.com/flickity-fade@1/flickity-fade.js"></script>
And don't forget not to use the wrapAround function, it works bad with it.
Using flickity.pkgd.min.js + fade script throws the following error:
Cannot set properties of undefined (setting 'fade')
Test case: https://codepen.io/anteksiler/pen/QWadjXP