How to fix AOS animate library crashing on multiple sections?

Hi there,

I am trying to implement the library"AOS animate" to animate sections.

https://michalsnik.github.io/aos/

I have imported the css and js and initialised with AOS.init(); in theme.liquid before

It works fine in the first section, but in the others it just crashes and keeps the images hidden.

Any solution ?

Thanks in advance.

Hey buddy, hi ! How have you managed to call AOS.init() without hitting the SSR problem ?