Skip to content

How lenis works ? #364

Discussion options

You must be logged in to vote

Lenis prevent the default wheel event and animate the scroll according to the wheel.deltaY value, it doesn't require any position: fixed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheElegantCoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants