Hey :)
First off: thnx for all the work around gsap. My Project
I am currently building an hugo-page with many scroll triggered animations. Nothing special so far.
Scrolltrigger 3.6.0
gsap 3.6.0 My Problem
Safari (only) currently runs at very high CPU consumption without any animation actually running. I did a lot of research and finally found out that the animation itself does not matter - it happens as soon as i add ScrollTrigger to my animations. It seems that it causes Style invalidation and thus forces safari to rerender everything each frame. The css should is about 55 kb in size and uses css custom properties as well as some filter: invert(1) (i already removed them temporarily).
This already happens when only 1 ScrollTrigger is active. For example: (It doesn't matter if the box is present or not)
gsap.to(".box", {
scrollTrigger: ".box",
x: 500
});
Hopefully the provided information is sufficient.
Thnx in advance for every answer.