Jump to content

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


  • Posts

  • Joined

  • Last visited

RubberFruit's Achievements

  1. I use it for a different look and feel and the whole project is already built on using it That is, you suggest that the card should not be fixed at the top of the screen, but gsap itself scrolled it to the top?
  2. Hi @OSUblake! But I also use which is used in my project and is difficult to implement in the code pen (in the gsap settings I use scroller: isMobile () || isTablet ()? '': '.scroller',) https://codepen.io/rubberfruits/pen/eYGEgvL
  3. Hi guys Please help me! played on the iPhone: when the scrolling reaches the top of the picture, it jumps to the top of the screen, and so on with each picture. What could it be? video:https://vimeo.com/658538950 code: gsap.registerPlugin(ScrollTrigger); let panels = gsap.utils.toArray('.scroll-item'); panels.forEach((panel, i) => { ScrollTrigger.create({ scroller: isMobile() || isTablet() ? '' : '.scroller', trigger: panel, start: 'top top', pin: i !== panels.length - 1, pinSpacing: false }); }); gsap.set('.scroll-item', {zIndex: (i, target, targets) => targets.length - i});