Closed dlhagstroem closed 5 months ago
Hi @dlhagstroem,
Thanks for your complete bug report. I will look into this when I get the chance.
Best, David
@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, David
@dlhagstroem a bug fix for this was just released in v8.0.0-rc19
.
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.