Skip to content
Discussion options

You must be logged in to vote

@aronanol45 https://github.com/darkroomengineering/lenis/blob/main/packages/react/README.md#gsap-integration

lenisRef.current?.lenis?.raf(time * 1000)

lenisRef refers to the ReactLenis component that includes: wrapper element, content element and lenis instance

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@aronanol45
Comment options

Comment options

You must be logged in to vote
5 replies
@aronanol45
Comment options

@feledori
Comment options

@aronanol45
Comment options

@clementroche
Comment options

Answer selected by aronanol45
@aronanol45
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants