patrikzudel/PatrikZeros-ChatGPT-API-UI

Allow scroll up while generation takes place

Opened this issue · 2 comments

Hi there! Is there a way to scroll to the top of ChatGpt's message in the UI? Currently, the page keeps scrolling down every time a new character is printed. It would be great to be able to see the beginning of ChatGpt's output while it's still typing. Thanks!

you can just comment out the afterUpdate function in the APP.svelte:
this block of code specifically:
afterUpdate(() => {
scrollChat();
});

I think what he wants is for it to scroll down if you want, but when you scroll up the auto scrolling behavior should stop.

Added to the Todo.