joshwnj / joshwnj/react-visibility-sensor

How to check if element is only Partially Visible?

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

From the below example i understood that **isVisible** will return true even if div element visible partially because I added **partialVisibility** prop. But is there any way i can say if div element is **partially visible** or **fully visible**?

```

{({ isVisible }) => {
return (


I am #{list}
);
}}

```

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.