denniszyche
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by denniszyche
-
-
3 hours ago, Rodrigo said:
Hi @denniszyche,
I googled about that error and couldn't find anything that tells me that it could be GSAP related.
Do you have a minimal demo that clearly shows how this is related to GSAP or any of our plugins? We have this starter template for using React with ScrollSmoother:
https://stackblitz.com/edit/react-iqmjfx?file=src%2FApp.js
Hopefully this helps.
Happy Tweening!
@Cassie + @Rodrigo thanks for your fast answers.
I think it is the connection of "react-router-dom" and "ScrollSmoother", because thats the only real difference to your examples.
I hope I can create a quick demo soon, so I can share it with you. Thank you!
-
On 8/15/2022 at 2:25 PM, Cassie said:
Is there something you're struggling with specifically Alexander?
Here's a starter codesandbox. It's not pretty but should show you the setup!
https://codesandbox.io/s/quirky-brattain-qy6ubg?file=/src/styles.css
Hey Cassie. I used your example to init SmoothScroller in my react Project.
Now I run into this error (Image). Any idea what I could have done wrong?
ScrollSmoother with a react Framework?
in GSAP
Posted
@Rodrigo sorry for my late reply. I just tested it. It works perfect now! Thank you so much!!!