Skip to content

GitHub Copilot chat scroll jumps to show previous prompts, hiding later prompts #283356

@garretwilson

Description

@garretwilson

Let's say I have this GitHub Copilot chat:

               My small question 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
               My small question 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.

Scroll backwards, to see the first of "Big long response 2", but accidentally scroll just a few pixels up so that the last of "Big long response 1" is visible.

Expectation: I can see the following, just like in any text editor or in the browser:

Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
               My small question 2.
Big long response 2.
Big long response 2.
Big long response 2.
Big long response 2.

Actual: GitHub Copilot jumps up to show all of "Big long response 1", completely hiding everything I was looking at in "Big long response 2"!

               My small question 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.
Big long response 1.

Scrolling backwards should not be "jumpy". It should just smoothly scroll. Apparently you've implemented some sort of "scroll to show entire response as soon as a single pixel of the response comes into view", but that isn't useful and gets in the way of simply reviewing the conversation, especially with long responses. I might spend several tedious minutes simply trying to see the first line of the response, because if I accidentally scroll a little too far, the entire response is replaced with a previous response!

(My hunch is that this is some default feature that came in accidentally with some panel/UI framework you're using. I can't see how anyone would have asked for this, especially someone who actually used it with long responses.)

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