-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Problems with js filter #694
Comments
Hey @polemonade, try adding |
Thanks @Scopestyle for aswering. I tried |
Hey! I just read this post issue and followed the steps and for the moment is working :) It was about recalculate all offsets and positions. I fixed this with this codepen example |
Awesome, glad I could point you in the right direction 😄 |
Hello ! I'm having the same issue here, but the codepen use jquery and not vanilla js. I'm a bit lost because I'm adding AOS.refresh(); when the class change, so It should work 😊
|
Thank you! This helped! In my use case - parent with a bunch of sections with toggle at the top to hide just one class sections. Once filtered it was not showing up, now with refresh its nice. |
I am using AOS with a js filter to filter categories within the page.
When I filter, the elements that are not being seen on the screen at the same time, are hidden, since as it has not been scrolled they have not been loaded.
How can I make it do the effect on the scroll and at the same time, when I filter it appears?
The text was updated successfully, but these errors were encountered: