flickity icon indicating copy to clipboard operation
flickity copied to clipboard

Flickity v2.3.0 does not resize properly if browser size is changed during a slide transition

Open dylanfisher opened this issue 2 years ago • 0 comments

Flickity v2.3.0 doesn't resize carousels in the same way as v.2.2.0, and if a user resizes their window while a slide transition is in progress, the correct size is not recalculated after the transition. This is apparent in autoplaying carousels.

Test case showing incorrect behavior in 2.3.0 https://codepen.io/dylanfisher/pen/JjpbEqe

Test case showing correct behavior in 2.2.0 https://codepen.io/dylanfisher/pen/MWQbJMO

Possibly related to 1202

BTW, thanks for an amazing plugin. I've used Flickity since at least 2015 on dozens of sites!

dylanfisher avatar May 13 '22 23:05 dylanfisher