-
Notifications
You must be signed in to change notification settings - Fork 12
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
NotInView Function and classNameNotInview not registering #13
Comments
Hi, Are the classnames added/removed as expected, or is that also not working for you? What browser are you testing in? Are you using the polyfill, and setting Finally, what version of the library are you using? |
@MatthewGreenberg Friendly ping about this. |
hey i fixed this! thanks a lot for the response |
Hi, I'm having the same problem but don't really know what to do to fix it. Basically the onNotInView function and all 'not classes' (classNameNotInView, classNameNotAboveView) are not working. If I do this:
The console logs 'in view' but never logs 'not in view' when the component (I've tried with several different components) scrolls out of view. I'm not using a polyfill but I'm testing with Chrome version 72 (not working in Firefox 66 either). I love how easy and intuitive the library is, so it would be great to find a fix. Thanks! |
Hi @grazianodev. If you add the I realise that the library doesn't handle the Let me know if the |
Yes, that works, thanks! |
I never see 'not in view' logged :(
The text was updated successfully, but these errors were encountered: