Animations loading with page not on scroll
-
Hey, I have an issue where my animations are loading with the page and not on scroll.
So when I scroll down my page they are already in place, as they loaded with the page.
How do I get them to load on scroll as they come into view on the page?
-
Hi @kylefuller97,
Could you please share the URL of your website where we can check it? Thanks!
hi Vytis,
please see below:
https://thebodygeek.com
hi Vytis, please see below: https://thebodygeek.comHey @kylefuller97,
I see one of the JS files isn’t being loaded on your website. Have you made any changes to not load the JS file?
Let us know. Thank you!
hey @hardeepasrani
It may have happened when i changed any theme, but unsure. I am now using the theme ‘go’
Do you know what I need to do, if I need to edit any of the code?
Thank you 🙏
@kylefuller97 It’s this theme, right? https://wordpress.org/themes/go/ – and you’ve not made any changes to any code?
We tried to reproduce the issue from our end and things seem to work fine.
Also, can you give us a list of the plugins that you’re using on your website?
@hardeepasrani yes, that is correct, no changes have been made to the code
Plugins in use:
CoBlocks
Duplicate Page
Envira Gallery Lite
Fonts Plugin | Google Fonts Typography
Ultimate Addons for GutenbergI had the same problem, then i realized that I was using a template that has no
get_footer();at the end (cause I didn’t need it).
I added the footer again and the problem disappeared.
I hope this can helpHey @kylefuller97,
It seems to work fine on your website now. Let me know what if you made any changes to fix it.
@hardeepasrani I Re-downloaded the theme.
I think it was to due me removing the footer as mentioned by @bartezzini
All sorted now.
P.s. do you have any plans to add reverse animation?
@hardeepasrani I Re-downloaded the theme.
I think it was to due me removing the footer as mentioned by @bartezzini
All sorted now.
P.s. do you have any plans to add reverse animation? Or do you know what code I could manually add myself that would do it?
thank you
@kylefuller97 We had few of those but we removed them. Instead of Slidein, those were Slideout which just took the content away from the screen and there was no way to get them back.
So far we haven’t been able to find a usecase for them. Do you have one? Share it with us so we can get a better perspective where they might be useful.
By reverse animation I mean when the users scrolls up, the animations will reverse / slide out…then when they scroll back down they slide back in.
So the animation is based on the users scroll.
Its not a big issue, but I’ve seen this on other websites and it’s a real nice touch and looks very slick.
Hey @kylefuller97,
It’s a good idea. I’ll note it down somewhere and at some point we will be putting more focus on the Block Animations and will include it as part of it.
Thank you!
I get the same behavior. Animations won’t trigger before scrolling. I added a “footer” fix as described above but no joy. Version 2.0.16
The topic ‘Animations loading with page not on scroll’ is closed to new replies.