Skip to content

Scrollbar Locking to Top of Page #4481

Answered by davep
JamesDConley asked this question in Q&A
Discussion options

You must be logged in to vote

You probably want to place the Markdown inside a VerticalScroll and then, after each update of the Markdown (which you should await, which you are doing now), call the scroll_end method of the VerticalScroll.

Seems you're building something very similar to something I've been playing with in terms of layout and flow (in this case a simple LLM client) and you can see I'm essentially doing that here.

Replies: 3 comments 3 replies

Comment options

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

Answer selected by JamesDConley
Comment options

You must be logged in to vote
2 replies
@JamesDConley
Comment options

@JamesDConley
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants