How to fix AOS animate library crashing on multiple sections?

Pedro_73
Shopify Partner
28 1 14

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 </body>

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

 

Any solution ?

Thanks in advance.

 

 

 

Reply 1 (1)

adminnss
Visitor
2 0 1

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