microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.28k stars 29.31k forks source link

Implement kinetic / inertial scrolling in linux #201937

Open githubuser6000 opened 10 months ago

githubuser6000 commented 10 months ago

Currently, on linux,a flick with two fingers to scroll stops as soon as one lifts their finger off the trackpad. This is not the case with other applications, such as firefox. This is a request to add such a feature to vscode :pray: it is such a QoL improvement.

Opening because the bot closed the previous one

vscodenpa commented 10 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vscodenpa commented 9 months ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Piroro-hs commented 9 months ago

Already implemented in chromium? https://github.com/electron/electron/issues/29730 https://bugs.chromium.org/p/chromium/issues/detail?id=763791

tokyo4j commented 9 months ago

I noticed wheel event is stopped when preventDefault() is called or when there's no space to scroll on Linux Chromium, whereas wheel event is triggered regardless of preventDefault() or space left on Windows. I guess that's why kinetic scrolling works in webviews (like release note), while it doesn't in code editor where builtin scrolling behavior is overwritten and emulated.

For preventDefault(), this commit might be related: https://source.chromium.org/chromium/chromium/src/+/c996f218c7efa8124a67b30e199bfb78f010954f

kkimdev commented 6 months ago

Just wanted to say that this small feature would greatly improve developer experience.

ubarilan commented 5 months ago

Definitely need this feature, would be great for QoL!

adityainduraj commented 4 months ago

Just wanted to ask if there has been any progress on this issue?

da-the-dev commented 3 months ago

Commenting for engagement! I work with a lot of big Jupyter notebooks, and having inertial scrolling would help tremendously

4fort commented 2 months ago

still no???

filiptrplan commented 5 days ago

This would be such a great feature! Really needed