We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there, Thanks for making this great library. It's works mostly, but I'm not able to get minTopValue to work.
As stated in the README:
so if at least 100px are in viewport, we mark element as visible.
I've set minTopValue to just 10, but the element goes hidden as soon as 1 pixel goes outside the containment.
I've even tried it in the codesandbox and it doesn't work: https://codesandbox.io/s/jl8r92z0lv
Anyway I can achieve this? I basically only want an element to update as hidden if half of it is outside the containment.
Thanks!
The text was updated successfully, but these errors were encountered:
A bit late but I think you have to add partialVisibility={true} if you want to play with minTopValue
partialVisibility={true}
minTopValue
Sorry, something went wrong.
No branches or pull requests
Hi there,
Thanks for making this great library. It's works mostly, but I'm not able to get minTopValue to work.
As stated in the README:
I've set minTopValue to just 10, but the element goes hidden as soon as 1 pixel goes outside the containment.
I've even tried it in the codesandbox and it doesn't work: https://codesandbox.io/s/jl8r92z0lv
Anyway I can achieve this? I basically only want an element to update as hidden if half of it is outside the containment.
Thanks!
The text was updated successfully, but these errors were encountered: