Jump to content


  • Posts

  • Joined

  • Last visited

Community Answers

  1. nicolaseielll's post in Update Smooth wrapper height when scrollHeight changes was marked as the answer   
    Hello, I was updating the height at a wrong time. I set the refresh function inside gsap's onComplete and now it updates it just how I wanted!
  2. nicolaseielll's post in How to connect slider controls to draggable boundaries was marked as the answer   
    I solved this by using getBoundingClientRect. First I get the sliderPosition and check how far it is from the max or min value (depends are you clicking previous or next) then if the slider is more than X away from the min or max value it translates X amount to the left or right but if it is closer than  X it translates the space left between the slider and max or min value so the slider never gets past the boundaries.
  3. nicolaseielll's post in How to use splitText text reveal animation with scrollSmoother? was marked as the answer   
    I got it working by wrapping that code to a setTimeout of 100 milliseconds