twobin / react-lazyload

Lazy load your component, image or anything matters the performance.
MIT License
5.85k stars 487 forks source link

Placeloader img showing after transition #339

Open andypho opened 3 years ago

andypho commented 3 years ago

After I added the react spring package to transition one component to another, I notice that the lazyload showing the placeholder image instead of the image it should be display, until there is a scroll action it will then show the image.

There's an basic example: https://codesandbox.io/s/fancy-meadow-m6s4n