Jump to content
Search Community

AP target #app > div not found.

ytrabelsi test
Moderator Tag

Recommended Posts

It sounds like you must be calling that code when the element doesn't actually exist.

 

It's pretty tough to troubleshoot without a minimal demo - the one you provided doesn't illustrate the issue properly. Well, it does but obviously it's because your element doesn't exist. 

 

Would you please provide a very simple CodePen, Stackblitz or CodeSandbox that demonstrates the issue? 

 

Here's a Stackblitz starter template that you can fork - it already imports GSAP/ScrollTrigger and shows how to use gsap.context()

 

Please don't include your whole project. Just some colored <div> elements and the GSAP code is best.

 

Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 

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...