facebook / facebook/fresco

Images flash upon loading

Open
#1,963 1 comment 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Kotlin
Stars
17.2k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

### Description

Upon loading an image (gif/jpg/webp/png) the image flashes the background color then loads the image. I expect that the image would just load and only have a placeholder when the image takes a while to load.
This problem is irrelevant to the size of the image (img size 10kb). Even if the image loads immediately the background color flashes.

### Reproduction

Essentially just load an image and replace it with another image on the same scene.
I have a git project with the issue where it flashes red:
https://github.com/dnam50/gifTry.git

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/28775204/32446378-5eb5926e-c311-11e7-9afe-6c689a4280af.gif)

### Additional Information

* Fresco version: [1.5.0]
* Platform version: [nexus 6 api 25] but has been tried on numerous android devices.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.