github / github/copilot-cli

Long text is not scrolling inside the input

未關閉
#3,885 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

When the textarea contains enough content to overflow, scrolling with the mouse wheel/trackpad does not scroll inside the textarea. Instead, the outer chat view/page scrolls, which makes editing longer prompts difficult.

### Affected version

1.0.63

### Steps to reproduce the behavior

1. Open GitHub Copilot CLI chat.
2. Type or paste enough text into the textarea so that the input area becomes scrollable.
3. Move the cursor over the textarea.
4. Try to scroll with the mouse wheel or trackpad.

### Expected behavior

The textarea should capture the scroll event and scroll its own content while the pointer is focused/hovering over it.

### Additional context

OS: MacOS 15.7.7
Terminal emulator: Terminal
Shell: zsh

貢獻指南

開啟貢獻指南

研究方向

在 GitHub Copilot CLI chat 中使用包含長值的 textarea 重現此問題,然後找出 chat 輸入框及其捲動或 wheel-event 處理邏輯。在回報的 macOS Terminal 和 zsh 設定上驗證此行為;完成的標準是,在內容溢出的 textarea 上進行滑鼠滾輪或觸控板操作時,捲動的是該 textarea,而不是外層 chat 檢視。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
62/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。