Jump to content
Search Community

Edon Rexhepi

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Edon Rexhepi

  1. Hi again Zach, Thank you again for the help. I read again the GSAP 3 Documentation, it seems that I had to register the plugin, so for Googlers in the future, this is how plugins should be registered: import gsap from 'gsap' import { ScrollToPlugin } from 'gsap/all' gsap.registerPlugin(ScrollToPlugin) In the main script. Many thanks again, Just saw the reply, thanks so much for sharing the asset! Just started, and I love using GSAP! Good job to everyone. Happy coding.
  2. Hi Zach, Thanks for the fast reply and the support given. I tried to reproduce the error in CodeSandbox, sometimes the error is showing sometimes not. Here's the link: https://codesandbox.io/embed/goofy-ardinghelli-n7r57?fontsize=14&hidenavigation=1 Image attached. I'm using ScrollMagic for the scene only, when the scene is reached I use GSAP to scroll gsap.to(window, 0.25,{ scrollTo: { y: '.hero-' + (index + 1), autoKill: false }, ease: Power4.easeOut } Many thanks again for the help.
  3. Hi guys, I'm trying to use ScrollTo with the latest vue-js cli, I can't understand why it isn't working. If you check in Codepen it works perfect
×
×
  • Create New...