Svelte SwipeJS Carousel Issues: Autoplayer Disabled And Element Breaking During Navigation
The issue i’m experiencing is with the swipejs carousel. On load, the carousel function’s perfectly, and the autoplay works as expected. The issue occurs after navigating to another route, in this case the about route, and coming back to the /home route.
The autoplay stops working, and in addition, the p element that offers a brief description of each slide breaks, and appears as a column within the slide.
The console error i recieve is:
Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters