Jump to content
Search Community

ThinkingAbout_dev

Business
  • Posts

    10
  • Joined

  • Last visited

Everything posted by ThinkingAbout_dev

  1. Thanks @Cassie, great!! Hadn't noticed that, I also added repat: -1 to make it infinite. ❤️
  2. Thanks @GreenSock for the amazing example! Do you think it's possible to add the "autoplay" feature to the last demo (the slides move automatically, stop during the drag and start again when released)? ?
  3. Hi Cassie, I have the same issue, could you post the solution again (It's 404 at the moment)? Thanks
  4. 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
  5. Hi, I've installed both the .tgz and 3.6.1, but neither seems to solve the problem. Thanks a lot
  6. 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
  7. 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
  8. 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
  9. 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
×
×
  • Create New...