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
slickPlay & slickPause not working #1209
Comments
I'm experiencing the same behavior. Cannot pause the autoplay. |
I have the same issue, can not pause when autoplay |
I'm dealing with the same issue, but I found a potential solution: play() {
this.slider.innerSlider.autoPlay("play");
}
pause() {
this.slider.innerSlider.pause("paused");
this.slider.innerSlider.autoPlay("hovered");
// The above autoPlay function probably isn't necessary if you're using onClick events,
// and it will only work if you keep the default prop pauseOnHover set to true.
} Use the above functions in place of the ones from the docs example. |
try this:
so that, after slider initialized, this will be called. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://codesandbox.io/s/v8rxn7qwp7
The slickPlay & slickPause does not seem to be working.
Used the example codes from https://react-slick.neostack.com/docs/example/auto-play-methods
The text was updated successfully, but these errors were encountered: