Skip to content

Is there a way to pin a VerticalScroll to the bottom? #5674

Answered by skytect
skytect asked this question in Q&A
Discussion options

You must be logged in to vote

Without the lock, the scrolling was not able to catch up with the content being added.

I figured out the problem: it was the markdown parser. I update the markdown content as I am streaming tokens quite quickly in the message, and I suspect what's happening is the markdown parser is too slow and ends up blocking the event loop, which prevents the updates from being made in time.

Replaced it with a Static widget and it works fine now.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@skytect
Comment options

Answer selected by skytect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5671 on March 25, 2025 18:03.