microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
334 stars 35 forks source link

Codeblock scrollbar position stays locked to bottom of chat window #1580

Open JohnnyFactor opened 1 month ago

JohnnyFactor commented 1 month ago

The horizontal scrollbar position in the chat window stays locked to the bottom of the chat window. When scrolling the window up, the scrollbar disappears off the page and is no longer accessible when reviewing long chats.

roblourens commented 1 month ago

Which horizontal scrollbar, can you share a screenshot?

JohnnyFactor commented 1 month ago

From the chat window on the left hand side. The code response was several hundred lines. Scrolling up results in the horizontal bar "sticking" to the bottom of the window rather than staying on screen:

vscode

roblourens commented 1 month ago

Oh, on a codeblock editor, I see

roblourens commented 1 month ago

We might do something anyway to make tall codeblocks easier to handle

JohnnyFactor commented 1 month ago

That's great, thank you. For the record, the vertical scrollbar is outside the codeblock and it's for the entire chat history so it works fine, although it can get unwieldy if the history gets too long.