twobin / twobin/react-lazyload

lazy loading images inside perfect scroll bar won't work

Open
#343 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

I am using [react-perfect-scrollbar](https://www.npmjs.com/package/react-perfect-scrollbar) to show images list.
Inside the perfect scroll bar, I am going to lazy load images inside it. But it won't work.

```


{images.map((image, i) => (



onSelect(`${awsS3Url}/${image.Key}`)}
/>



handleRemoveOne(image)}
/>

))}


```
The images of first view(without action scrolling) are showing.
When I try to scroll, then it shows only list without images.

What did I code wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.