lenis icon indicating copy to clipboard operation
lenis copied to clipboard

naiveDimensions option

Open gyurmey2 opened this issue 1 year ago • 3 comments

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.

gyurmey2 avatar May 23 '24 17:05 gyurmey2

You mean clicking the anchor link ?

clementroche avatar May 23 '24 17:05 clementroche

Yes exactly.

gyurmey2 avatar May 24 '24 06:05 gyurmey2

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.

clementroche avatar Dec 05 '24 09:12 clementroche