Open shishirkj opened 4 months ago
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?