-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to detect elements that have no size #155
Comments
Any progress here? |
Thanks for reminding me about this! I just went ahead and threw together a PR for it: #167 For now if you just need something to work, the best (but kinda gross) solution is just going to be setting a |
I "hacked" this by setting min hight of an "invisible" element to 1px in css |
Any news about this one? I can see it's still in PR... |
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.
The text was updated successfully, but these errors were encountered: