davidjerleke / embla-carousel

A lightweight carousel library with fluid motion and great swipe precision.
https://www.embla-carousel.com
MIT License
5.37k stars 164 forks source link

[Bug]: Image disperses after window resize #881

Closed halibegic closed 1 month ago

halibegic commented 1 month ago

Which variants of Embla Carousel are you using?

Steps to reproduce

  1. Navigate to the next slide in the carousel.
  2. Resize the window.
  3. Notice that the image is missing after the window resize.

Expected Behavior

After resizing the window, the image should remain visible

Additional Context

Recorded the issue for reference. https://github.com/davidjerleke/embla-carousel/assets/3328291/a7982844-4da5-4d39-bd24-b60f1aa4719d

What browsers are you seeing the problem on?

Chrome

Version

8.1.1

CodeSandbox

https://codesandbox.io/p/sandbox/embla-carousel-fade-react-3fz67z?file=%2Fpackage.json

Before submitting

davidjerleke commented 1 month ago

Thanks @halibegic! A bug fix for this was released in v8.1.2.