dialformonkey
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by dialformonkey
-
-
-
Hi. Looking for the proper way to call ScrollSmoother.create() inside a nextjs app. I have a couple of animations that run fine when i disable the ScrollSmoother create call. However when i enable it the animations are not working most of the time even with markers: true enabled.
I have been troubleshooting the issue and have moved the initialization to the root as well. This still does not seem to work. I am using the useIsomorphicLayoutEffect with gsap.context.
since i cant exactly recreate it on a codepen, i could dm over a few live links with both the ScrollSmoother enabled and disabled as well as send over the github repo.
ScrollSmoother undefined on nested route load
in GSAP
Posted
Solution was registering ScrollTrigger as well