-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
beforeChange() breaks fade #1214
Comments
Same issue |
I had the same issue. And what I noticed is that if you @akiran Can you give some insight as why it happens? |
I was having the same problem with the React Hooks fade, I disabled this option in the project and everything went back to normal. |
I was using react hook, but @sayedtaqui hack doesn't work for me
|
In my case, the slider would not change slides unless you clicked twice, and beforeChange would get called on the second click. I was able to work around this bug using setTimeout like so:
|
Sandbox: https://codesandbox.io/s/2j3onlv9rn
Removing either beforeChange() or fade restores normal behaviour. But I would want to use both :)
NOTE: changing to afterChange() will make slider work, but still mess up the state changes.
The text was updated successfully, but these errors were encountered: