fancyapps / ui

A library of JavaScript UI components, includes the best lightbox - Fancybox5
https://fancyapps.com/
Other
810 stars 98 forks source link

Carousel bug: Added slides disappear on breakpoint #683

Open devjam1n opened 2 months ago

devjam1n commented 2 months ago

Describe the bug

Using addSlide, prependSlide, appendSlide adds a slide, but they disappear again on breakpoints.

Reproduction

Demo switches thumbs and dots using breakpoints. Codepen demo

Additional context

No response

fancyapps commented 2 months ago

Hi. For now, you can pass the slides option with all the slides you want to show, including those that were previously added.