microsoft / microsoft/vscode

Thinking header not anchored — expanding a collapsed Thinking entry scrolls it out of view

Open
#325,549 5 comments 0 reactions 1 assignee Claimed by @justschen View on GitHub
bug
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Testing #325512

When expanding a **collapsed** Thinking entry in chat, the entry is **not anchored** — instead of staying pinned in place, it scrolls away entirely, so the header I clicked is no longer in view and I lose my place.

Expected (per the TPI): the Thinking header should stay **anchored** and not move with the rest of the chat when expanded.

## Steps to reproduce
1. Set `chat.agent.thinkingStyle` to `collapsed`.
2. Send a prompt that produces reasoning + tool calls (a long Thinking block).
3. Once the Thinking entry is collapsed, click to **expand** it.
4. ❌ The entry scrolls out of view / the header is not pinned, rather than staying anchored in place.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.