NO BUG: Slide initializing very late what is splide waiting ? performance issue or?

Hi Sinan,
Thanks so much for your report!

That’s not the proper way to enable continuous scrolling with Splidejs. You already linked to the auto-scroll extension, which is the appropriate way.

  1. Remove your custom transition
  2. Include the auto scroll extension in your footer scripts and mount it
<script src="https://cdn.jsdelivr.net/npm/@splidejs/splide-extension-auto-scroll/dist/js/splide-extension-auto-scroll.min.js"></script>

<script>
document.addEventListener("DOMContentLoaded", function () {
    new Splide('.splide').mount(window.splide.Extensions);
});

</script>
  1. Use custom slider options to enable it
{
  "type" : "loop",
  "perPage": 3,
  "autoScroll": {
    "speed": 1
  }
}

Best regards,
timmse

2 Likes