-
Notifications
You must be signed in to change notification settings - Fork 30
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
On firstTime Rendering it dosent work #134
Comments
was just about to come and try and find this issue or raise it. It doesn't set InViewPort to true on load if it's already in the viewport. I'm assuming becuase it's now using the intersectionObserver? it's only firing on an actual intersection, and I assume doesn't have any onload detection? Massive assumptions at this stage as haven't looked at code, but any thoughts on fixing this? Cheers |
I'm not normally one for jumping ship and this has been a great library, but we really need this to work. Seem react-intersection-observer works on initial load aswell |
oh sorry I missed the message, let me check |
Could you try using the hook directly instead of using the depreacted HOC? Yes we are using intersection observer |
could you try to update the library and try again? |
The text was updated successfully, but these errors were encountered: