Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

ThinkingAbout_dev

BusinessGreen
  • Posts

    7
  • Joined

  • Last visited

About ThinkingAbout_dev

Contact Methods

Recent Profile Visitors

499 profile views

ThinkingAbout_dev's Achievements

  1. Hi, i mean the y position of the scroll does not update correctly when I change the page or the animation stop working if I kill ScrollTrigger. I tried both the latest version and the 3.6.1. When do you think an updated version will be released with both the scroll postion and the animation issue solved? Thanks, Matteo
  2. Hi, I've installed both the .tgz and 3.6.1, but neither seems to solve the problem. Thanks a lot
  3. Hi @OSUblake, thanks again for your help it is really appreciated. In the code you forked, the scroll problem, invoking animation.scrollTrigger.kill(), seems to be resolved correctly. The tween on the second page, however, does not work (if you notice the green banner is not animated) but everything on our code seems fine. I also noticed a similar recent issue with Next.js Thanks again. Matteo
  4. Hello Thanks for the reply, I have read the doc of this property but it does not solve the problem. The problem occurs when I use a gsap tween that includes ScrollTrigger (if I remove the tween the page scrolls to top normally). This is one of the tween i use, i call it on the "onMounted" page lifecycle hook: gsap.to($element, { scrollTrigger: { trigger: $element, scrub: 1, start: "top bottom", end: "bottom top", }, xPercent: -7, ease: "sine.none", force3D: "auto", }); Regards
  5. Hi everyone, I have a weird issue with ScrollTrigger. In my project, built with Nuxt.js, when I land on a new page, if there is a tween on that page that includes ScrollTrigger (or even if I invoke ScrollTrigger.refresh ()), the scroll position of that destination page "jumps" to the scroll y position of the page I came from. Ever heard something like this? Thanks a lot 🙏, Matteo
  6. Hi, I updated my nuxt.js project with the latest Club GreenSock (gsap-bonus.tgz) but I have the following error with Draggable: This is how I import the modules (universal mode): import { gsap } from "gsap"; import { Draggable } from "gsap/Draggable"; if (process.client) { gsap.registerPlugin(Draggable); } In my nuxt.config.js I have: build: { transpile: ['gsap'] } With the previous gsap-bonus.tgz version everything worked fine. Can you please help me with this error? Thank you Matteo
×