loktar00/react-lazy-load

Lazy Load on Array of Images issue

Opened this issue · 2 comments

I am having trouble doing the lazy load on an array of images. It seems to just load my whole array at first instead of it one by one.

 const gallery = images.map((obj, i) => {
      return (
          <LazyLoad>
            <img src={obj.thumbnail} />
          </LazyLoad>
      );
    });

Is there a way to resolve my issue?

I am having a similar issue. Everything renders as visible. Any thoughts?

@danielnuwin @cs-manughian ,If you could find a solution, does the same thing happen to me?