Search code examples
visual-studio-code

Visual Studio text editor scrolling problem


I've been using VSCode for a year or so and now suddenly there is a strange effect while scrolling. There appears to be a 'fixed' section which doesn't scroll - in the image below, if I scroll then lines 32 + will scroll 'underneath' line 17-18 etc. which stay fixed. The line numbers are confused as well.

screenhot of editor window

Is this the result of an option setting somewhere? Or should I re-install VSCode (and all its plugins)? Version is 1.87.2, Windows 10


Solution

  • This is called sticky scroll, and you can switch it off in the settings. More here: https://code.visualstudio.com/docs/getstarted/userinterface#_sticky-scroll