flickity icon indicating copy to clipboard operation
flickity copied to clipboard

v2.3.0 broke my carrousel

Open MTulaimat opened this issue 3 years ago • 6 comments

images not loading

I just set a specific version and it worked v2.2.2

image

MTulaimat avatar Dec 20 '21 09:12 MTulaimat

I'm sorry to see you're having trouble with Flickity. Could you provide a reduced test case or a live URL so I can take a look? See Submitting Issues in the contributing guidelines.

desandro avatar Dec 20 '21 16:12 desandro

Broke mine as well. I have fixed height settings. https://alanschacher.net/work2.php?s=performature-performateur-3

ianhobbs avatar Dec 20 '21 22:12 ianhobbs

@ianhobbs Thanks for that. Looks like we need to set top: 0 now that Flickity uses transforms.

Can you try adding this code before you initialize Flickity?

let protoCreate = Flickity.Cell.prototype.create;
Flickity.Cell.prototype.create = function() {
  protoCreate.apply( this, arguments );
  this.element.style.top = 0;
};

desandro avatar Dec 21 '21 02:12 desandro

Thanks for your quick reply - will report on changes when they are in.

ianhobbs avatar Dec 21 '21 04:12 ianhobbs

Hi @desandro, I have a similar issue. Since v2.3.0, the inactive cells overlap into the viewport. The translateX value of the 'flickity-slider' element increments at irregular values such as 100.41%, 200.82% etc which is the cause of the gap.

I was unable to reproduce the issue in CodePen but you can see the live url here: https://architextures.org/pro. I would appreciate any suggestions you may have to remove these gaps and overlaps.

flickity

ryancanzo avatar Dec 23 '21 13:12 ryancanzo

Same here

alexbogias avatar Jan 04 '22 11:01 alexbogias

This issue has been quiet for a year. I'm closing for now.

desandro avatar Jan 19 '23 02:01 desandro