lenis
lenis copied to clipboard
naiveDimensions option
Hi, I know this is an experimental option for now, but I would just like to point out that everything works fine for scrolling, but it doesn't work for clicking. I mean the effect at the footer.
You mean clicking the anchor link ?
Yes exactly.
The issue we're facing here is by adding "animation-timeline" with a transform you're modyfing the scrollHeight while scrolling so the value that has been taken in account on click is not right anymore.
It looks unsolvable for the moment unless adapting your css animation.