joshwnj / joshwnj/react-visibility-sensor
Add option to detect elements that have no size
Open
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
I have a scenario where I am implementing a basic form of lazy loading where I'm waiting for an empty element to become visible before loading an element inside of it - this worked fine until I recently upgraded to a more recent version of react-visibility-sensor and discovered that the ability to detect the visibility of elements with 0 width/height has been disabled.
I understand why this was done, but I would love some sort of option that would allow you to still detect the visibility of elements with no width/height.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.