Jump to content
Search Community

invalid property in scrolltrigger with typescript

Ofek nakar test
Moderator Tag

Recommended Posts

That error means that ScrollTrigger isn't loaded or registered. It is super difficult to troubleshoot by only looking at a screenshot - it appears as though you are importing and registering ScrollTrigger but clearly whatever is generating that error is indicating otherwise. Maybe you've got a really over-aggressive tree shaking issue in your bundler or you're running an animation that has a "scrollTrigger" property BEFORE you've got ScrollTrigger loaded/registered. A minimal demo would go a long way to getting you a solid answer :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...