Microsoft/vscode

long Scrolling with physical trackpad on Android does not work properly

Open

#255,975 opened on 2025年7月15日

GitHub で見る
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
androidbugchromiumhelp wantedtrackpad/scrollweb

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

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

コントリビューターガイド