twobin / twobin/react-lazyload
it shouldn't check placeholer's height
Open
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Description
```
var checkNormalVisible = function checkNormalVisible(component) {
var node = _reactDom2.default.findDOMNode(component);
```
Here, when no element rendered, the node is placeholder.
When the component is in viewport but it's not loaded, such as image, this function return true. In this case, user will see a image unloaded.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.