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

slick-dots .slick-active UI bug with state hooks #1534

Open
decimoseptimo opened this issue Apr 12, 2019 · 0 comments
Open

slick-dots .slick-active UI bug with state hooks #1534

decimoseptimo opened this issue Apr 12, 2019 · 0 comments

Comments

@decimoseptimo
Copy link

Updating state (useState) from a beforeChange callback, delays the setting of .slick-active class, until the afterChange event. That class is normally applied from the beforeChange event.

https://codesandbox.io/embed/0y8yl31pwn

There must be an explanation on why this is happening,

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