AOS (Animate On Scroll) Library Not Working in D2L - why?

Hi;
I’m trying to use the AOS library (Animate On Scroll) on webpages in our courses.
This library allows elements on the page to animate (fade in, slide in, etc) using CSS *when the user scrolls to see them.* So, they won’t animate until the user scrolls past them.
Here is the library on GitHub:
https://github.com/michalsnik/aos/tree/v2#-animations
I’ve downloaded examples, and they work offline, or on the web, but when I take those same examples and put them in Brightspace, the animations play on page load, rather than when the user scrolls to see them.
Here is an example that has failed to work when loaded into D2L:
https://codepen.io/oltika/pen/vXdJbx
I’m not a programmer. Does anyone know why this happens, or what I can do to fix it?
Thanks,
Brock
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 28 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat