twobin / twobin/react-lazyload
Placeholder not re-rendering with window size change
Open
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Description
I'm observing that my placeholder component is not re-rendering when the window size is changed, even when `resize={true}` is set.
I think its because of this line?
```
shouldComponentUpdate() {
return this.visible;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.