Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code touchpad scrolling moving cursor instead of page

I'm using VS Code on a Lenovo Yoga 710 laptop. My issue is when I scroll with two fingers on the touchpad the cursor moves up and down lines instead of moving the page and leaving the cursor where it is. This isn't happening in any other applications (tested with Word and notepad).

Video showing VS Code vs Notepad scrolling

Anyone know how to change this? I can't find the setting anywhere in VS Code, and I haven't had this issue on other laptops.

Thanks!

Edit

This has been answered as not being an issue with VS Code, this is just a list of other issues to aide in future searches

  • Scrolling not working in Slack: scrolling up results in first opening the editor for your last message then moving by highlighting each message

Workaround solution

Following the instructions under this video worked for me on a Lenovo Yoga 710.

In case the link goes down here's the ELAN instructions:

  1. Download the ELAN UltraNav Driver for the Yoga 370 from here
  2. Run the downloaded file to extract the contents to C:/Drivers
  3. In Device Manager find the ELAN touchpad
  4. Click on Update Driver > Browse my computer > Let me pick > Have Disk
  5. Choose ETD.inf
  6. Reboot
like image 324
Josh G Avatar asked Sep 28 '18 16:09

Josh G


People also ask

How do I enable smooth scrolling in Vscode?

Update November 2020 VS Code has been updated and its settings UI also has changed. So to enable smooth scrolling in VS Code. Go to settings and just search smooth you can just enable this setting to enable smooth scrolling.

How do you scroll in VS code with keyboard?

fn + ctrl + up/down arrow did the trick for me on Mac for moving just one line at a time. Perfect should be the validated answer! This also works on Windows.


2 Answers

I know this is an old post, but I was having a similar problem and wanted to share another solution in case anyone else comes across this like I did. The only thing that was sort of working was Ctrl + Touchpad Scroll, but that was really annoying and distracting.

I found another solution on the Lenovo Support forum that solved my problem in 3 easy steps:

  1. Open regedit.exe using run
  2. Go to Computer\HKEY_CURRENT_USER\Software\Elantech\SmartPad
  3. Change ScrollControl_Mode from 0 to 1
like image 64
Amy Avatar answered Sep 21 '22 10:09

Amy


Can you try this workaround, Ctrl + Touchpad Scroll. This one worked for me.

like image 32
Vinay P Avatar answered Sep 21 '22 10:09

Vinay P