Possibly related to #1360, but this appears to be a distinct remaining case.
When a long response is streaming, I can scroll to the top and read earlier lines. However, when the assistant finishes generating, the scroll position jumps to the bottom automatically.
Reproduction
- Send a prompt that produces a long streamed response, for example:
Reply with a 100 lines of random words. Add line numbers.
- While the response is streaming, scroll to the top of the assistant message and keep reading there.
- Wait for the response to fully complete.
Observed
As soon as generation completes, the viewport jumps to the end/bottom of the response.
Expected
If the user has manually scrolled away from the bottom, the UI should preserve scroll position when the stream completes.
Notes
Possibly related to #1360, but this appears to be a distinct remaining case.
When a long response is streaming, I can scroll to the top and read earlier lines. However, when the assistant finishes generating, the scroll position jumps to the bottom automatically.
Reproduction
Reply with a 100 lines of random words. Add line numbers.Observed
As soon as generation completes, the viewport jumps to the end/bottom of the response.
Expected
If the user has manually scrolled away from the bottom, the UI should preserve scroll position when the stream completes.
Notes
Reply with a 100 lines of random words. Add line numbers.