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]: Carousel autoplay restart #3653
Labels
Comments
You can easily make it restart. Embla Carousel's docs: https://www.embla-carousel.com/plugins/autoplay/#stoponmouseenter
import Autoplay from "embla-carousel-autoplay"
export function Example() {
return (
<Carousel
plugins={[
Autoplay({
delay: 2000,
stopOnInteraction: false,
stopOnMouseEnter: true
}),
]}
>
// ...
</Carousel>
)
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
By default on click on an autoplay carousel it stops but it never restarts.
I'd like to make it restart after a while
Affected component/components
Carousel
Additional Context
No response
Before submitting
The text was updated successfully, but these errors were encountered: