Skip to content
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

Component blinks when fading to the next image on iOS #19

Open
rgarlik opened this issue Aug 20, 2020 · 0 comments
Open

Component blinks when fading to the next image on iOS #19

rgarlik opened this issue Aug 20, 2020 · 0 comments

Comments

@rgarlik
Copy link

rgarlik commented Aug 20, 2020

I have a website where I'm using react-crossfade-image to show a couple of images in a "showcase gallery" sort of way. Everything works perfectly fine on the desktop version but testing the site on my phone (iPhone 6S using Safari, could be replicated on iPhone 11 Safari as well) has shown the following problem:

Every time the component starts fading into the next image, the image component "disappears" for a split second, also causing the whole component's height to shrink to 0. It then re-appears with the new image as it's supposed to. I first thought that it's just having trouble loading the images for the first time, but this behavior appears every time a new image is faded into, even if it's between images that have already been shown (which means they're already loaded).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant