github / github/copilot-cli

Long text is not scrolling inside the input

Open
#3,885 0 comments 0 reactions 0 assignees View on GitHub
area:input-keyboard area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in GitHub Copilot CLI chat using a long textarea value, then locate the chat input and its scroll or wheel-event handling. Verify the behavior on the reported macOS Terminal and zsh setup; done means wheel or trackpad input over an overflowing textarea scrolls that textarea rather than the outer chat view.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.