Closed
Description
IntersectionObserver is a performant way to detect if an element is inside the viewport or not.
react-lazy-load-image-component
should use that instead of some complex computations with the element position and the scroll position of the window to detect if the element is visible or not.
This must be implemented in a form that it fallbacks to the element position computations for browsers that don't support IntersectionObserver.