Microsoft/vscode

long Scrolling with physical trackpad on Android does not work properly

Open

#255,975 创建于 2025年7月15日

在 GitHub 查看
 (0 评论) (0 反应) (1 负责人)TypeScript (10,221 fork)batch import
androidbugchromiumhelp wantedtrackpad/scrollweb

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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

贡献者指南