ismail9k / vue3-carousel

Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
MIT License
653 stars 162 forks source link

Carousel flickers when resizing it #340

Open felix-barz-brickmakers opened 7 months ago

felix-barz-brickmakers commented 7 months ago

Describe the bug When interactively resizing the carousel, for example, because the window gets resized, it "flickers", meaning it randomly scrolls in both directions.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://ismail9k.github.io/vue3-carousel/examples.html#wrap-around
  2. Resize the window (only happens when small enough so the carousel itself has to resize)

Expected behavior The carousel resizes without those visual artifacts.

Screenshots https://github.com/ismail9k/vue3-carousel/assets/60686992/fe5b2f94-f84d-4f2c-b8a7-0ace853f9c21

Desktop: