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

feat: make sure autoplay stops on carousel interactions #501

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

eddieferrer
Copy link
Collaborator

Ran into some more issues when trying to implement this.

Embla docs say autoplay should stop by default on carousel interactions, but I found that to not be the case with our setup. This makes sure the autoplay stops when goToSlide is called, either from within the carousel itself or from external components. Also remove log statements

@eddieferrer eddieferrer merged commit 2caa297 into main Jan 9, 2025
3 of 5 checks passed
@eddieferrer eddieferrer deleted the CIT-2442_autoplay_button_fixes branch January 9, 2025 18:13
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.

2 participants