Jump to content
Search Community

Leaderboard

Popular Content

Showing content with the highest reputation on 06/23/2024 in all areas

  1. @Vishhhh Replied to you via private message In case anyone else needs it, I'll just share this stuff: Loom video explaining the code in case you want it. Github repo if you just want to jump straight into it. If anyone is confused by any aspect of it, let me know. I haven't cleaned anything up, this was just me learning as I hit my head against the coding-wall. Thank GodSAP for this forum, I'd be stuck for a long time otherwise. I happen to also have a NextJS example of the animation if someone wants it.
    1 point
  2. Yeah, that's because Lenis is updating it's whole mechanism when the scroll position is updated, that's why I added lenis.stop() on the click event handler and lenis.start() on the onComplete callback. Happy Tweening!
    1 point
  3. Hi, We do have an example for setting up ScrollSmoother using the app feature in Next so you can take a look at it and see how it works: https://stackblitz.com/edit/nextjs-ysf649 Hopefully this helps. Happy Tweening!
    1 point
×
×
  • Create New...