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

Fix - Disabled autoplay still fires events beforeChange #210

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kapcash
Copy link

@Kapcash Kapcash commented Aug 30, 2021

I figured out my carousel was sending a lot of beforeChange events even though nothing seemingly changed.

I found out the condition to trigger the autoplay was wrong and so it always triggers the autoplay timer whatever the props are.

To avoid any more confusion, I renamed the autoPlay method to runAutoPlay, so we're sure the names are more distincts than just a capital letter!

@Kapcash
Copy link
Author

Kapcash commented Apr 13, 2022

@kyuwoo-choi Sorry to bother, but can we merge this? Or at least get a review? 🙏 It's been 8 months and I'm using my fork in production lol

@francisashley
Copy link

francisashley commented Oct 27, 2022

Hi @kyuwoo-choi this bug is also breaking the initialSlide option,

could we please get this merged.

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

Successfully merging this pull request may close these issues.

None yet

3 participants