Jump to content
Search Community

Johnny K

Members
  • Posts

    1
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Johnny K's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I have a simple zoom in animation on a logo and I'm trying to add GSDevTools. Without the GSDevTools everything works fine. As soon as I add it, I get this error: TypeError: Cannot read property 'createElementNS' of undefined Here is my code: componentDidMount() { console.log("HomePage componentDidMount"); const tl = gsap.timeline({ id: 'timeLine', repeat: -1, yoyo: false }); tl.set('.logo', { id: 'logo', scale: 0 }); tl.to('.logo', { id: 'scaleUp', duration: 2.5, scale: 1.0 }); GSDevTools.create(); } Please Help, tell me how to make this work in a React App. I'm not adding a codeine because this is a React based app, code pen doesn't do react. Thanks, John
×
×
  • Create New...