microsoft / vscode

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

Smooth scroll not working if window.zoomLevel==1 #224714

Open BlueFisher opened 2 months ago

BlueFisher commented 2 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. set "window.zoomLevel": 1
  2. smooth scrool will not working
  3. However, interestingly, if the zoomlevel is not 1 but rather 1.1, 0.9, or any other number, smooth scrolling works fine.
azvyae commented 2 months ago

I can confirm this issue too in W 11, there are no problem on 0-0.9 or 1.1 - ∞, only happens on window.zoomLevel 1

handsomefox commented 2 months ago

Can confirm. Happens on both 1440p and 1080p displays.

cah-kangkung commented 2 months ago

Second this, stop working from last week for me, setting zoom level to other than 1 fixed the issue

compilenix commented 1 month ago

Same here.

My current workaround is: "window.zoomLevel": 1.0001

Environment: Does this issue occur when all extensions are disabled?: Yes Version: 1.92.2 Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9 Date: 2024-08-14T17:29:30.058Z Electron: 30.1.2 ElectronBuildId: 9870757 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: 12.4.254.20-electron.0 OS: Linux x64 6.9.7-200.fc40.x86_64