Hi,
I created an autoscroll slider on this page: Blending Vocals
I added this code to create the auto scroll effect:
<script>
document.addEventListener("DOMContentLoaded", function(event) {
new Splide( '#splide',{
autoScroll:{
speed: 0.25,
pauseOnHover: false,
pauseOnFocus: false,
drag: false,
},
} ).mount( window.splide.Extensions );
//end doc ready
});
</script>
However it doesn’t loop all the images when it reaches the end:
After deleting my own code the issue still persists.
I have several questions about this:
- What is causing this break in the loop?
-
- Even on mobile when I’m only showing 5 pictures the break appears.
-
- Does the slider need to be bigger than the viewport or something?
- Could my own code be interfering with the slider? If so, is there a better way to implement an autoscroll slider in Bricks?