Skip to content
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

Setting autoplaySpeed to zero and speed to a higher value causes transition/animation to break #269

Open
kubra-uzun opened this issue Feb 1, 2023 · 0 comments

Comments

@kubra-uzun
Copy link

I have these props on a slider with seven slides:

slidesToShow: 4,
slidesToScroll: 1,
infinite: true,
cssEase: "linear",
autoplay: true,
speed: 9000,
autoplaySpeed: 9000
variableWidth: true,
swipeToSlide: false,
waitForAnimate: false,
pauseOnHover: false,
draqgable: false,
arrows: false,

This works fine. However, it takes the autoplay ~9 sec. to start animating. If I set it autoplaySpeed to zero or less than 9000, the transition/animation breaks.

Any suggestions on the cause of the issue or a fix? Thanks 🙏

@kubra-uzun kubra-uzun changed the title Setting autoplaySpeed to 0 and speed to number causes transition/animation to break Setting autoplaySpeed to zero and speed to a higher value causes transition/animation to break Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant