Skip to content

[bug] GitHub Copilot Chat: input jumps to beginning when clicking inside long prompts, preventing text selection #288013

@singularitti

Description

@singularitti

Does this issue occur when all extensions are disabled?: No

Version: 1.108.1
Commit: 585eba7c0c34fd6b30faac7c62a42050bfbc0086
Date: 2026-01-14T14:55:44.241Z
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0

macOS version: 26.2 (25C56)
extension version: 0.36.1

When using GitHub Copilot Chat in VS Code, the chat input field becomes unusable for selection when the prompt is long (e.g., when pasting code or long technical text).

If I click anywhere inside a long prompt (especially near the end) to select text, the cursor immediately jumps to the beginning of the prompt instead of staying where I clicked. This makes it effectively impossible to select or edit text unless I first click the “Edit” button.

This behavior is extremely disruptive when working with long prompts, which is a very common Copilot use case.

Steps to Reproduce

  1. Open Copilot Chat in VS Code
  2. Paste a long prompt (e.g., several hundred lines of code or text)
  3. Try to click somewhere near the bottom of the prompt to place the cursor or select text
  4. The cursor immediately jumps to the start of the prompt instead of where you clicked

Expected Behavior

Clicking inside the prompt should place the cursor at the clicked position and allow normal text selection, just like a standard text input or editor.

Actual Behavior

The cursor always jumps to the beginning of the prompt, making it impossible to select or edit text without using the “Edit” button.

Suggested Fix

Please disable or remove the “jump to beginning” behavior in the chat input field.
The chat prompt should behave like a normal selectable text area where clicking places the cursor at the clicked position.

If this behavior was added intentionally (e.g., for performance or state management), it should be optional or disabled for long prompts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions