-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next Button Skips Multiple Slides on First Click in SplideJS #1311
Comments
Running into this exact same issue, did you ever figure out a fix? |
Nope not yet |
Try setting perMove to 1. |
Yes sir, I already do have that in my settings. This is how it looks. |
I'm unable to reproduce this using those options in Splide 4.1.4. Do you have options being set on the splide element in the HTML that may be interfering with the JS options? |
No, no data attributes being used at the moment, is there a way to reach you, so I can send you a link to the website with this issue and maybe looking at it you can see something that I'm missing? I checked your portfolio and I saw your hotmail, you still using it? |
Why not include a link to your page with the issue here? |
It’s a shopify store and some clients are a bit weird about posting their store links but yeah I guess I can post it here in the meantime - https://www.ettika.com/ Please scroll down almost to the footer and you'd see it. And also this issue with the slider is only on desktop. |
If you're programmatically adding slides after the slider has been mounted, try doing |
Thnak you @Webberjo adding refresh() and manually adding event listeners to the arrow buttons fixed it. @eiiot , this is exact what I did.
|
Checks
Version
v4.1.4
Description
My parameters are
{ type:"loop" , padding:{ right: '10%', left: '10%'},}
Link to see whats happening -- https://github.com/Splidejs/splide/assets/39523709/6d18f096-721f-4650-8498-70487bb055a0
Reproduction Link
No response
Steps to Reproduce
Screen.Recording.2024-05-29.at.11.51.19.AM.mov
Expected Behaviour
When next button is clicked it should move only one slide.
The text was updated successfully, but these errors were encountered: