• Resolved undfine

    (@undfine)


    Hello, I have multiple pages that are full-height and have no overflow or scrolling. It used to be that the elements would animate in on page load and/or whenever they become visible (via JS). But now nothing happens. It seems related to the new aoslight.js, because everything immediately animates if I resize the window. I think this is due to the switch from using an IntersectionObserver to function calls relying on load, resize and scroll events.

    I believe the change happened after 9.5.6:

    https://plugins.trac.ww.wp.xz.cn/changeset/3165855/greenshift-animation-and-page-builder-blocks/trunk/libs/aos/aoslight.js

    My issue may be an edge case, but I use [data-aos] for many elements like popups and tabs, that should animate in/out when triggered (without scrolling). For the time being, I’m just going to re-enable the old aoslight script.

    Although I haven’t used the new scroll features, I look forward to it. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpsoul

    (@wpsoul)

    Yes, it can be because we changed to scroll, resize (previously many animations didn’t work when they are placed in hidden sections like tabs. Also clipped animations didn’t work.

    We will add also On load trigger. So, it will be fixed

    Thread Starter undfine

    (@undfine)

    Thanks for the reply. I’m not sure if an On Load trigger would be enough for my case, since the animation needs to happen infinite times (like hiding/showing objects when clicked, such as tabs), but it sounds like you’re addressing that as well.

    Plugin Author wpsoul

    (@wpsoul)

    for hiding/showing regular animations will not work (and it didn’t work earlier as I remember). There is special option in Animation panel to enable it for .active class, this is what you need to enable and it will work for your case

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Recent Update prevents AOS from triggering without scroll’ is closed to new replies.