The code is working individually ( if only using scrollTrigger ) but with my actual website code is lagging ( it has many files so its difficult to upload all ). The site just glitches out and holds black screen for few sec then again comes back to second page ( Home page animation is lagging.
https://codepen.io/_sukoon/pen/bGJZrVB
I have made my site on GSAP with many animations but ScrollTrigger library is not working and whole site is lagging TOO much, It gets stuck as soon as i Scroll even a bit
Xpertenz - Google Chrome 2024-04-25 21-50-29.mp4