Jump to content
Search Community

kwastaras

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by kwastaras

  1. Hello @GreenSock ! the page is just too big; I can't create a minimal demo. What I'm interested in is whether ScrollTrigger.normalizeScroll() should work 100% on all iOS devices with a bottom toolbar? If the bottom iOS toolbar breaks all triggered points, what alternative approach to animation can I try instead? ( Right now, due to the bottom toolbar, my pinSpacer's 'top' attribute is changing on scroll up and down, causing the fixed elements to be repositioned slightly. )

    • Like 1
  2. I have an animation of <circle> elements inside <clipPath>, I need to scale them, so that initial position stays the same (scale from center), I can only achieve it by changing 'r' attribute, but on IOS devices it looks laggy, on android and windows all works great. I thought I can fix it by changing the 'transform:scale()' attribute instead of 'r', and giving the circle 'will-change:transform', but when I change 'transform' instead of 'r', initial position 'cx' and 'cy' changes. Is there a way I can optimize animation of 'r' attribute on IOS devices? Would be thankful of any help...

     

    See the Pen vYVEbje by kwastaras1337 (@kwastaras1337) on CodePen

  3. I did this transitions with gsap, but the problem is, that on a laptop trackpad (touchpad) or mobile swipe, if you do a "long swipe", scroll event can last up to 2-3 seconds, so page continue to scroll even after animation played. I've read that scroll event cannot be interrupted... Would be very grateful for some idea how to solve this... ( p.s i don't want to use library "fullpage js", because after this few slides a website needs to have normal smooth-scrolling behavior ) 

    Quote

     

     

    i found this similar thread and there seems to be no solution to this problem 🙁

    See the Pen vYRqdwd by taras-grushowskij (@taras-grushowskij) on CodePen

  4. 21 hours ago, Cassie said:

    I'd love to know which one you were after so I can bump the option a little higher or signpost it better. 

     

    Thanks

    thank you!

    in make case this code worked

     gsap.to(window, {
       scrollTo: smoother.offset(section, "0 0"),
       duration: 0.3,
       ease: Power4.easeOut
     }),

     

    • Like 1
×
×
  • Create New...