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

enable touch accelerated scrolling even for mouse pointers #10118

Open
emattias opened this issue Mar 22, 2024 · 0 comments
Open

enable touch accelerated scrolling even for mouse pointers #10118

emattias opened this issue Mar 22, 2024 · 0 comments

Comments

@emattias
Copy link

You can disable touch based scrolling (clicking and dragging and releasing and the scrolling continuing depending on the speed of the pointer move at release) with touch-action:none but (to my knowledge) you cant enable the touch scrolling if the browser doesnt detect the pointer as being touch.

You can enable it in devtools, like in the video below. Would be nice to be able to enable it with css.

CleanShot.2024-03-22.at.16.34.32.mp4

Why?

Css scroll snap has eliminated the need for part of what js libraries like swiper, keen-slider, etc. but to getting accelerated scrolling you still need js to achieve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant