Introduction
Animations pique a user's interest in applications. Not only that, animations can also be used to improve UX(user experience) conside...
For further actions, you may consider blocking this person and/or reporting abuse
Hi! This is an awesome article on AOS with Angular. Your explanation is clear and easy to understand. I managed to use it successfully in my project. But, I am facing issue using AOS for Angular SSR/universal.
Is this something you can help with?
Thank you
What problem are you facing in particular ?
Im, good thank you managed to solved it. Cheers~!
Alright, glad to hear. Sorry for the late response. Happy coding!!
I have the same issue I think, how did you managed to solved it?
Hello Ignace, What error in particular did you get?
I'm always getting errors like document. not found etc, probably because it tries to load the animations but document doesn't exists server side.
Alright try this please:
Please give feedback thanks
Love the article. Got it working very easily, but it seems to only be working on the divs that are on the screen initially and does not animate when I scroll down the page. Is there a separate setting I need to add to get it to work as I scroll?
Hi Brandon, thanks alot. If I get you correctly, you're saying the animations aren't firing as you scroll on divs/elements that had not been in view?
That is correct.
Sorry for late replies. I had been trying to recreate the issue but I can't. Can you please re-confirm if you did all the configurations correct and check your console as you scroll should incase it could trigger an error message to assist in debugging.
Also you can checkout this settings:
Try (startEvent: 'scroll) in the AOS.init({. This way it will fire when scrolling.