[Question] How to display placeholder when the image is still be fetched while visible in the viewport?

This issue has been tracked since 2021-01-24.

Hi guys, I was using this library to lazy-load my images, I was also using my custom placeholder component.

As I observe, as soon as the images are in the viewport, the placeholder will be immediately replaced with the img tag. However, in my case, my image fetching is slow, so the image goes blank for a while until the fetching done and the browser paints it.

So my question is there any way to show the placeholder until the image is completely fetched?

Thank you

More Details About Repo
Owner Name twobin
Repo Name react-lazyload
Full Name twobin/react-lazyload
Language JavaScript
Created Date 2015-08-07
Updated Date 2022-11-29
Star Count 5639
Watcher Count 52
Fork Count 482
Issue Count 153


Issue Title Created Date Updated Date