-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
onProgressChange & onSnapToItem bug when only 2 image #74
Labels
bug
Something isn't working
Comments
what version are you using? |
Thanks for the tip |
https://discord.gg/KsXRuDs43y |
my workaround
|
i upgrade to 2.2.1 and bug still occur
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onProgressChange & onSnapToItem bug when only 2 image, index item slide from 0-3 (detect as 4 images)
you can reproduce set only 2 images and console log onSnapToItem or onProgressChange absoluteProgress
onSnapToItem={(index) => console.log(index)}
onProgressChange={(offsetProgress, absoluteProgress) => console.log(absoluteProgress)}
this makes my slider indicator not works as expected when index is 3.
The text was updated successfully, but these errors were encountered: