joshwnj / joshwnj/react-visibility-sensor
Offset for partialVisibility
Open
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
I think a good addition would be to add an offset to partialVisibility (required px from different sides in order for the element to be visible or not) it would be very useful for elements that are almost as big as the viewport.
Same as how the offset from jquery appear plugin works. I can try to implement and send a PR but after #41 is merged.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.