-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Loop + scrollTo with jump occasionally fails and selected slide turns white #652
Comments
Hi @dlhagstroem, Thanks for your complete bug report. I will look into this when I get the chance. Best, |
@dlhagstroem can you reproduce the bug in this CodeSandbox? Thanks in advance! |
@davidjerleke I gave it a hard round and no - I could not reproduce the issue in the provided sandbox :) |
@dlhagstroem thank you for testing it 👍🏻. I will release a patch including the bug fix then. Stay tuned. Best, |
@dlhagstroem a bug fix for this was just released in |
Bug is related to
Embla Carousel version
v8.0.0-rc15
Describe the bug
Selected slide sometimes turns white when using emblaApi.scrollTo(index, true).
Prerequisites:
CodeSandbox
https://xtcdzj.csb.app/
Steps to reproduce
Expected behavior
Show selected image (slide)
Additional context
Seems to be related to the loop option some how, when carousel "takes the closest way" to the selected index.
The text was updated successfully, but these errors were encountered: