microsoft / vscode

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

Implement kinetic / inertial scrolling in linux #201937

Open githubuser6000 opened 8 months ago

githubuser6000 commented 8 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

VSCodeTriageBot commented 8 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!

VSCodeTriageBot commented 7 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 7 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 7 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 4 months ago

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

ubarilan commented 2 months ago

Definitely need this feature, would be great for QoL!

adityainduraj commented 2 months ago

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

da-the-dev commented 1 month ago

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