Skip to content

v1.0.4

Latest

Choose a tag to compare

@arzafran arzafran released this 10 Nov 16:55
e877fe1

Scroll triggers now follow Lenis again. 1.0.3 shipped its own copy of lenis/react, so useScrollTrigger never saw your <ReactLenis> and read native scroll instead. Scroll trigger behaviour can change if your app relied on that fallback.

  • lenis (^1.1.0 || ^2.0.0-0) is now a peer dependency. npm 7+, pnpm and bun install it automatically.
  • Lenis 2 is accepted. useScrollTrigger in infinite mode and the scroll trigger debugger read the maximum scroll from maxScroll on Lenis 2 and limit on Lenis 1.
  • Dev-only: the playground moves to Astro 7, which clears the October 2026 advisories. The published package was not affected.

Full change: #27, #28