Cursor bug when editing sql file
03:14 04 Aug 2021

I came across a problem in Visual Studio Enterprise 16.9.6, when editing an sql script the cursor just goes crazy, when I try to select a line in the file or the navigation bar it just selects files from the solution explorer or whatever sidebar is there, even if no sidebar is present, it just makes it impossible to work on them. With any other file this doesn't happen, only sql files.

It's best to show rather than describe:

enter image description here

Even stranger than that is the fact that it only happens on a secondary screen, on the primary screen everyting works fine.

Anyone had this issue? Any advice?

sql visual-studio selection