fpapado / react-lazy-images

🖼️ 🛋️ Components and utilities for lazy image loading in React
https://fpapado.github.io/react-lazy-images
MIT License
266 stars 26 forks source link

exception thrown when image is 404 #17

Open cbarraford opened 6 years ago

cbarraford commented 6 years ago

I get the following error when I have an image that is not found (404) and I'm also importing `intersection-observer'

import 'intersection-observer'; \\ the package is just imported, no other code references it

Has anyone else seen this problem??

screenshot 2018-10-10 17 04 38
etienne-bondot commented 5 years ago

Same here :)

Pushplaybang commented 5 years ago

I seem to have this without importing the polyfill, going to try an error boundary, I'll report back

nik-lampe commented 5 years ago

This doesn't work for me, the error in the Promise keeps being uncaught

etienne-bondot commented 4 years ago

@nik-lampe you right my solution did not work. I removed it. Still an issue on my side.

pieshop commented 4 years ago

I'm experiencing the same issue also.

yashspr commented 3 years ago

Has anyone found a fix for this issue?

lenaggar commented 3 years ago

Has anyone found a workaround for this?