'VSCode editor window intermittently jumps to bottom when rolling mouse scroll wheel

It intermittently happens than when I move back to the text editor window, either from another editor tab or from an external program, that when I just roll the mouse scroll wheel by one click, the window jumps to the bottom of the file, no matter where in the file the cursor is at that moment. It's only the window scroll that jumps, not the cursor. This happens maybe every 1/15 times when changing between tabs. Once I'm editing again after this glitch, everything behaves as normal.

It goes without saying that this is quite frustrating.

I'm hoping someone here knows how to fix this, or at least debug it. Is there a log recorded by VSCode so that I can look at the log when I notice the glitch happening again, or can I enable such a log?

Thanks in advance

System info: Version: 1.58.0, Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6, Date: 2021-07-08T06:53:55.113Z, Electron: 12.0.13, Chrome: 89.0.4389.128, Node.js: 14.16.0, V8: 8.9.255.25-electron.0, OS: Linux x64 4.15.0-147-generic

Installed Extensions: Bookmarks, File Utils, Jupyter, LaTeX Workshop, macros, Pylance, Python, Spell Right, Vim



Solution 1:[1]

Known issue (since 2017), but unfortunately no known solution: https://github.com/microsoft/vscode/issues/28795

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 thomas