Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow Scroll on 2 in 1 tablet #215

Open
MoscaFrancesco opened this issue Aug 16, 2023 · 1 comment
Open

Slow Scroll on 2 in 1 tablet #215

MoscaFrancesco opened this issue Aug 16, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@MoscaFrancesco
Copy link

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

@clementroche
Copy link
Member

clementroche commented Aug 21, 2023

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 clementroche added good first issue Good for newcomers bug Something isn't working labels Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants