Jump to content
Search Community

jackkemm

Members
  • Posts

    60
  • Joined

  • Last visited

Community Answers

  1. jackkemm's post in Vertical loop on scroll was marked as the answer   
    Hey @Rodrigo,
     
    Thanks for the update. Sadly it only seems to scroll in one direction mainly, it will randomly go in the opposite direction when scrolling up.
     
    I made a tweak to the line below to make sure the currentDirection was being used to make sure the columns went the opposite direction when scrolling up/down:
    // Changed this line currentScale = (i % 2 ? 1 : -1) * -1; // To this line currentScale = (i % 2 ? (currentDirection * -1) : currentDirection);  
    Thanks a lot for your help @Rodrigo.
     
    Thanks,
    Jack
  2. jackkemm's post in ScrollTrigger/ScrollSmoother normalizeScroll & ignoreMobileResize was marked as the answer   
    Me again...
     
    Did some more digging and turns out setting pinType: 'fixed' in my use case done the trick 👌
     
    Found it here
     
    So smooth now!
     
    Thanks,
    Jack
×
×
  • Create New...