eiriklv / react-packery-component

A React.js component for using @desandro's Packery
MIT License
43 stars 35 forks source link

Fading in child elements after images load? #14

Open andrew8088 opened 7 years ago

andrew8088 commented 7 years ago

First, thanks for this component; it's really been useful! :)

I have a series of child elements inside my element that each have an image inside of them. I'd like each child to be initially transparent (opacity: 0), and once the image has loaded, I'd like it to transition to opacity: 1.

I know this isn't an issue with your component, but I was wondering if you had any ideas on the best way to do with with your component.