Aljullu / react-lazy-load-image-component

React Component to lazy load images and components using a HOC to track window scroll position.
https://www.npmjs.com/package/react-lazy-load-image-component
MIT License
1.46k stars 110 forks source link

in safari browser not show images #87

Open arezooalipanah opened 3 years ago

arezooalipanah commented 3 years ago

Bug description Write a clear and concise description of what the bug is.

To Reproduce Paste the code that is producing the issue

...

List any other actions needed to reproduce the issue:

Link to a repo where this issue can be reproduced if available:

Expected behavior Write a clear and concise description of what you expected to happen versus what happened.

Screenshots If applicable, add screenshots to help explain your problem.

Technical details:

arezooalipanah commented 3 years ago

I am using this library to lazy load images on my website. It works perfectly in Chrome and Firefox on both laptop and Android. However, some of the images don't load when I open the site in Safari and Chrome on iOS. How can I fix this?

krontill commented 3 years ago

@arezooalipanah Try adding visibleByDefault prop to LazyLoadComponent

romanown commented 2 years ago

it is usefull?