-
Notifications
You must be signed in to change notification settings - Fork 113
The scrollPosition prop of HOC trackWindowScroll always return "null" #101
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
Comments
Hi @Huynh12345678, thanks for opening this issue! Can you try passing react-lazy-load-image-component/src/hoc/trackWindowScroll.js Lines 121 to 123 in 0b2e6d8
|
Oh, so i don't necessarily use trackWindowScroll if the browser supports intersection observer ? |
And how to setState loaded from true to false when changing img src in the same component ? |
If you only want to use
I would try setting a different Hope it helps! 🙂 |
Bug description
The scrollPosition prop of HOC trackWindowScroll always return "null". I think it should return a object {x,y} ?
The text was updated successfully, but these errors were encountered: