Microsoft/vscode

long Scrolling with physical trackpad on Android does not work properly

Open

#255 975 ouverte le 15 juil. 2025

Voir sur GitHub
 (0 commentaires) (0 réactions) (1 assigné)TypeScript (10 221 forks)batch import
androidbugchromiumhelp wantedtrackpad/scrollweb

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

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

  • VS Code Version: vscode.dev
  • OS Version: Android 15, Chrome 138

When doing a fast scroll on Android when using a physical trackpad (Say keyboards that have built in trackpads), when doing quick scrolls, the page correctly continues scrolling even after the fingers are off the trackpad. But when the fingers touch the trackpad for a little longer (imagine you are doing a longer scroll because you want to get to the bottom of a file) then it blocks the scrolling as soon as you remove your fingers.

Steps to Reproduce:

  1. Open a scrollable file
  2. Do a large fast scroll to the bottom/top of the page
  3. Page scrolls as long as fingers are on the trackpad, then stops immediately

I'm guessing it might be related to: https://github.com/microsoft/vscode/issues/169002 As when I scroll the keyboard gets focused. I'm guessing it might be because it detects pointer down events, and if the next pointer up event is within a threshold, then it is considered a tap, else it's considered a scroll? Not sure

https://github.com/user-attachments/assets/2568989e-72df-4abe-b217-9721d5598cb0

Guide contributeur