lenis icon indicating copy to clipboard operation
lenis copied to clipboard

Slow Scroll on 2 in 1 tablet

Open MoscaFrancesco opened this issue 2 years ago • 1 comments

Describe the bug If i scroll on a 2 in 1 tablet (surfacae go 3), the scroll is very slow and unresponsive, with a massive delay between the actual scroll and the lenin animation. the fact is that it works fine if i use the touch screen, but does not work if i use trackpad

To Reproduce I've tried the same setup with smartphones, tablets and PCs and everything works fine (I've also tried with old PCs or tablets from 10 years ago).

https://codepen.io/Francesco-Mosca/pen/xxmKYdw

MoscaFrancesco avatar Aug 16 '23 16:08 MoscaFrancesco

Do you know if your trackpad is sending wheel events while using the trackpad ?

the answer might be here https://github.com/studio-freight/lenis/blob/main/src/virtual-scroll.js.

Actually it would be cool if you can find the answer and fix it for me because i don't want to buy this tablet just for fixing this bug. Thx !

clementroche avatar Aug 21 '23 07:08 clementroche