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

AutoPlay and Arrow Slide Right Glitch on continuous multiple clicks. #1

Open
Rollins434 opened this issue Oct 11, 2022 · 0 comments
Open

Comments

@Rollins434
Copy link

Hi Joahn,
So I recently came across your code base for slider and it works great. Working with the code it came to my notice that if someone clicks multiple times on either the right arrow or left arrow, the slider right/Left function call, as well as the autoplay functionality in useEffect, creates a glitch problem. The slider then behaves in an erratic manner.
It may be because of the absence of the cleanUp function.

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

No branches or pull requests

1 participant