k1ngy.eth
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by k1ngy.eth
-
-
-
Currently I am creating a timeline in each component on my screen, but it seems buggy with getting things to animate with scrollTrigger. Should I forward my refs up to the parent screen component which contains all the components and just do a single gsap timeline there?
So all the timeline gsap stuff will be in this parent component?
-
That was it! Thank guys
- 1
-
C:/Working Folder/Website/WebPortal/Portal/ClientApp/src/components/salesPage/SalesIntro.tsx TypeScript error in C:/Working Folder/Website/WebPortal/Portal/ClientApp/src/components/salesPage/SalesIntro.tsx(43,6): Type 'RefObject<HTMLDivElement | undefined>' is not assignable to type 'string | Element | ArrayLike<string | Element | null> | null | undefined'. Property 'length' is missing in type 'RefObject<HTMLDivElement | undefined>' but required in type 'ArrayLike<string | Element | null>'. TS2322 41 | duration: 1.5, 42 | scrollTrigger: { > 43 | trigger: leftEl, | ^ 44 | }, 45 | }, 46 | });
Please answer the question on stackoverflow or here.
This is blocking me badly!
How to play two timelines at the same time, even if one is pinned.
in GSAP
Posted
How can I get these animations to start at the same time?