Skip to content

fix(windows): 修复 Git 记录鼠标滚轮偶发无法滚动 - #157

Merged
1lck merged 1 commit into
1lck:preview/0.3.0from
Rangsh:preview/0.3.0
Aug 18, 2026
Merged

fix(windows): 修复 Git 记录鼠标滚轮偶发无法滚动#157
1lck merged 1 commit into
1lck:preview/0.3.0from
Rangsh:preview/0.3.0

Conversation

@Rangsh

@Rangsh Rangsh commented Aug 18, 2026

Copy link
Copy Markdown

Summary

  • 修复 Windows Git 记录在反复滑动时偶发无法滚动的问题。
  • WebView2 会把滚轮锁在 overflow:hidden 的提交行文本上;现将滚轮交给真正的滚动容器,并把行内截断改为 overflow:clip,避免 hover 后卡住。

Test plan

  • 打开 Windows 开发版,并打开含提交历史的仓库
  • 打开 Git 记录
  • 在提交列表上反复执行「滑动 → 停止 → 滑动」,停在某一行 hover 时列表仍能滚动
  • 鼠标移出或点击其他区域后再滑回,滚动仍然正常

Fixes #152

WebView2 会把滚轮锁在 overflow:hidden 的提交行文本上。将滚轮交给真正的滚动容器,并把行内截断改为 overflow:clip,避免 hover 后偶发无法滑动。

Fixes 1lck#152

Co-authored-by: Cursor <cursoragent@cursor.com>
@Rangsh
Rangsh requested a review from 1lck as a code owner August 18, 2026 06:23
@1lck
1lck merged commit a9a9a8d into 1lck:preview/0.3.0 Aug 18, 2026
7 checks passed
@1lck 1lck mentioned this pull request Aug 18, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants