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
Carousel: switching interval to false does not deactivate autoplay directly #2779
Comments
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
carousel
#8.10.1
#17.0.2
#4.5.2
What is happening?
With the Carousel, we can deactivate the autoplay by setting the interval props to
false
. However, this is not taken into account directly but only after one last automatic transition to the next slide. I think this is due to the the following piece of code in carousel.js :An additional check between prevState.interval and this.state.interval should be perform before returning without setting the interval, no?
What should be happening?
Autoplay should stop as soon as the interval is set to false
Steps to reproduce issue
The text was updated successfully, but these errors were encountered: