lenis
lenis copied to clipboard
How smooth scroll should be
- added two new parameters: body (overflowing container) and container (overflowed container) - added two new methods: onContainerResize() and getContainerScroll() - minor adjustments to core code to handle all scenarios
Hello, Because I need to have `scroll-behavior: initial` it does what it does as default - scroll jump to the target element. So if I want to scroll to element...
How do I do it when I reload doesn't save the scroll position, I want to start from the beginning/top
Hi, i tried to add scroll-snapping to my HTML and it worked! But sadly there is an issue while using `scroll-snap-align: start;` It always jumps without animation to my next...
👋 Hi! Thanks for starting this super cool project. I'm looking to use this in a personal TypeScript project and thought this might be a helpful addition. This PR adds...
Hi there! There is an `Application error: a client-side exception has occurred)` when you scroll to the top on iOS (Safari). Demo: https://user-images.githubusercontent.com/34862272/190872325-44a37a44-d62e-4fd6-bf83-a538db374ad7.MP4
**Describe the bug** On Desktop device, the parameter "direction" in the scroll listener is set to 1 for a scroll up and -1 for a scroll down. Even with a...
**Describe the bug** During the lenis scroll animaton, scrolling via scrollbar or keyboard shortcut (scrollbar) is blocked/prevented (by lenis). In other words, the scroll animation, triggered/executed by lenis, can not...
Hi guys, First of all, congratulations for your work and specially for Lenis. It is awesome. I just wanted to ask you about Lenis and the Gsap ScrollTrigger sync. Usually...
Hey there, I recently discovered Lenis from the article [here](https://tympanus.net/codrops/2023/01/11/getting-creative-with-infinite-loop-scrolling/). I was trying to get a basic scroll loop going just like the simple example code in the article. Problem...