Jump to content
Search Community

David Aragon

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by David Aragon

  1. I'm trying to use "onUpdate" to trigger a very short animation when a user scrolls.

     

    I noticed that my animation is triggered over 10 times every time I scroll, so I used the console and it does log multiple times...

     

    I tried to combine with onComplete: kill/clear/pause but it stops the animation and it doesn't start again.

     

    Is there a way to trigger the animation just "while" I'm scrolling? I tried a wheel event function to trigger the animation and it didn't work either.

     

     

    See the Pen KKgBLae by Nkozi (@Nkozi) on CodePen

×
×
  • Create New...