Replies: 1 comment 1 reply
-
Flex direction perhaps? In JavaScript you can use the window.scroll() methods. window.scrollBy(), window.scrollByLines(), etc. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EDIT: made some partial progress on this here #3601
I have been making several improvements to the chat UI, but there are some specific things that have been kind of challenging.
Scroll position while streaming
After each new received token, the chat window scrolls all the way to the bottom. This makes it impossible to scroll up to see previous text while the generation is taking place.
It happens due to
It would be better to replace this style with javascript code that
In Python, this is the typical problem that would be solved through some kind of monkey patch that overrides the "chat update" event, but I don't know how to do it in javascript.
Input box with multiple lines
The input box grows downwards instead of upwards when more lines are added, which is awkward:
Beta Was this translation helpful? Give feedback.
All reactions