Aos: Elements not showing up on Chrome.

Created on 12 Apr 2018  路  3Comments  路  Source: michalsnik/aos

Love this library, but it mysteriously is not working correctly, as elements are getting animated after they are already scrolled past.

You can see here the problem: https://credify.one

Any insight on how to fix this issue, as we will have to use something else if not...

Most helpful comment

Note that I was able to get this to finally work by calling AOS.refresh() after all of my other JS code.

All 3 comments

Note that it looks like this is conflicting with Slick, per the referenced issue.

Note that I was able to get this to finally work by calling AOS.refresh() after all of my other JS code.

Hey @Panoplos I'm glad you solved it. You can also add:

window.addEventListener('load', AOS.refresh);

Or use startEvent:

AOS.init({
  startEvent: 'load',
});
Was this page helpful?
0 / 5 - 0 ratings

Related issues

skube picture skube  路  4Comments

amityweb picture amityweb  路  3Comments

timotheegoguely picture timotheegoguely  路  3Comments

luminawastaken picture luminawastaken  路  3Comments

webcredo picture webcredo  路  3Comments