twobin / twobin/react-lazyload

it shouldn't check placeholer's height

Open
#161 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.