Skip to content

Long text is not scrolling inside the input #3885

Description

@OBats

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions