Microsoft/vscode

long Scrolling with physical trackpad on Android does not work properly

开放

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

 (0 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
Good first issueUIandroidbugchromiumhelp wantediOStrackpad/scrollweb

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (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

贡献者指南