Delay image load and display
We want to prevent the browser from loading image data from remote server if they are not in view.
Update the <CropImage
control and use existing react-visibility-sensor
to toggle visibility of the <img
. This toggle from hidden
to visible
must be done only once.
Maybe using CSS visibility: hidden|visible
(on the img
) will work?