Recent Update prevents AOS from triggering without scroll
-
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:
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!
- You must be logged in to reply to this topic.