I noticed an error with the nested slider in slide mode. Once the slider reaches the last slide, it automatically flies to the first slide (??) and then the pagination gets unresponsive.
Unfortunately, I cannot reproduce the issue - whether in 1.5 or in the current dev version. As for jumping back, is it possible that you have the “Rewind” option enabled (below Autoplay Settings)?
But even with the Rewind option enabled, the Arrow navigation still works for me, even after jumping back
Hey Maxime, suspect that the perPage 2.5 and 2.2 causing this glitch.
Found that your instance bricksData.splideInstances.ab72ea.options.perPage is 2.5 and 2.2 on smaller screen.
Not sure this is from your own setting or from native Slider setting?
You try to set them to integer number for troubleshoot purpose.
If you wish to control the visibility of your Splide, try use padding
Thanks @itchycode , sounds like a good reason for a bug thought decimals are supported by swiper and slick I’ll test it in a minute, and if it works i’ll delete the post so nobody can see it in future
if you’re on iOS Safari, then yes the scrolling up and then down (whichever way controls the browser search to hide/show) will trigger a resize each time.
Haven’t looked at Bricks’ JS for it, but if this is right “Bricks reinitiate the instances on resize event”, then it’s a problem. They’ll need to remove that for iOS Safari, otherwise it’ll keep reinitiating on scroll, probably multiple times per second.
Update - yes, they’re running the function on resize every 250ms, this will be why the slider keeps resetting to the starting position as you scroll. Surprised this was added, as I think Splide already handles the resizing.
Oh ya, I found the same on android chrome too. Didn’t notice previously.
And now I understand what does the “search bar” means, it’s referring to the browser address search bar. Thanks David.
Can’t reproduce on desktop browser because it doesn’t has the same browser search bar behavior like in mobile device. That’s why no “resize” event triggers when scroll up / down in desktop.
So this issue is Bricks specific, no doubt that 250ms resizing causing it. My guess is they added it for use inside of the builder, to ensure the slider is always correct when changing breakpoints (or similar) but were unaware of scrolling causing resizing on some mobile devices.
Anyway hopefully this all helps the Bricks team to fix.