Smooth Scrolling in Next
Hey,
does anyone know a good way or a good library to implement smooth scrolling in React/Next.
Talking about the scrolling that if you stop scrolling it continues a bit further down and doesnt stop directly
2 Replies
Lenis scroll:
https://github.com/darkroomengineering/lenis
GitHub
GitHub - darkroomengineering/lenis: How smooth scroll should be
How smooth scroll should be. Contribute to darkroomengineering/lenis development by creating an account on GitHub.
Just so you are aware what you are looking for is not what most people know as smooth scrolling.
https://www.w3schools.com/howto/howto_css_smooth_scroll.asp#section2 This is smooth scrolling
what you are looking for is momentum scrolling, there are a bunch of libs that support it.