Open
Description
Bug description
The lazy loading is working perfectly on client side but none of my image are rendered from the server on the original loading SSR. Is there a special config to change in order for the image to be rendered as SSR? Stack is Meteor/React/Apllo/Styled Component
<StyledLazyLoadImage
alt={`product image ${name}`}
scrollPosition={scrollPosition}
src={imgUrl200 ? imgUrl200 : imgUrl}
/>
const StyledLazyLoadImage = styled(LazyLoadImage)`
margin: 0.5rem;
max-width: 18rem;
max-height: 22rem;
`;
Also tried without the scrollPosition but result is the same.
Expected behavior
Was expecting the image to be rendered on server side.
Technical details:
- Package version: 1.5.1
- Server Side Rendering? Yes
- Device: Desktop
- Operating System: MacOs
- Browser: Chrome