# ScrollTrigger.min.js

**URL:** <https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606>\
**Category:** RapidWeaver Elements\
**Created:** [March 5, 2025, 11:50pm UTC](https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606 "2025-03-05T23:50:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [March 5, 2025, 11:50pm UTC](https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606/1 "2025-03-05T23:50:46Z")

</div>

@tpbradley  
Hi Tom,  
I was looking at the Timeline and noticed that ScrollTrigger.min.js is flooding the timeline, even long after the page is loaded. I know it’s not your guys script, but it definitely is chewing up alot of processing time. Seems like it might be repeatedly firing an event listener, but definitely strange when no scrolling is going on.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [March 6, 2025, 8:33am UTC](https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606/2 "2025-03-06T08:33:56Z")

</div>

Scrolltrigger is for the reveal animations (and other components we have planned) - those are still a WIP.

I believe currently the scrolltrigger.min.js file is always included, we’ll make sure it’s only included when required.

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [March 6, 2025, 5:19pm UTC](https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606/3 "2025-03-06T17:19:53Z")

</div>

Removing when not needed is fine, but when it’s required it needs to behave 😉

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [March 6, 2025, 6:29pm UTC](https://forums.realmacsoftware.com/t/scrolltrigger-min-js/46606/4 "2025-03-06T18:29:05Z")

</div>

The scrolltrigger.min.js file is actually from [GSAP](https://gsap.com/), one of the best animation libraries out there. Having used GSAP before, I have no doubt that it functions exactly as expected. 😉
