Maddy
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Maddy
-
-
Hello,
I have an angular app and in one component I copied the code you have in this example .
When I reload this component it works perfectly. But when I am navigating from another component,it breaks, it looks like the trigger is created twice, and I see the start/end markers twice on the page, creating the same white spacer that is described here
I tried putting it the ngOnInit, in the ngOnAfterViewInit... nothing helps.
Any ideas?See the Pen bGexQpq by GreenSock (@GreenSock) on CodePen
Scrolltrigger created twice in angular
in GSAP
Posted
Thank you @akapowl I will try it