Skip to content

[Help]: Flashing images #1105

Closed Answered by miyendiz
streamzyuk asked this question in Help
Jan 13, 2025 · 1 comments · 13 replies
Discussion options

You must be logged in to vote

Hi David,
Thank you for your time.
I believe the issue has nothing to do with Embla.
It has something to do with 3d transformations on ios.
I have deleted the
transform: translate3d(0, 0, 0);
from embla__slide css class and when you comment out the
EmblaCarousel(viewportNode, OPTIONS)
the flashing goes away.

I did the workaround as to reinit with active option = false (and saved the current translated position as you have advised on another thread) and used element.style.translate to keep the current snappoint when the modal is displayed and when the modal is closed reinit with active= true.
No flasing any more.
I have updated the sandbox. You can try and see that flasing is gone.

all the…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@davidjerleke
Comment options

@miyendiz
Comment options

@davidjerleke
Comment options

@miyendiz
Comment options

Answer selected by davidjerleke
@davidjerleke
Comment options

@miyendiz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
resolved This issue is resolved question Question about how to achieve something
3 participants