Open kamil-malinski opened 1 year ago
also happens in non-fullscreen desktop safari
This also occurs (in iOS Safari) while the message is streaming. So it defeats the whole purpose of the streaming, as you can't actually read anything until the streaming is complete.
Also, in desktop Chrome, streaming forces the scroll to the top (rather than the bottom) of the message, when the message does not fit on the page.
Personally I would suggest disabling scrolling altogether, and allow the user to read as they please. This would probably solve the issues on all platforms.
(ChatGPT auto-scrolls until the user scrolls up, then it disables auto-scrolling, but their implementation is a bit janky too.)
I have fixed this issue (tested on desktop Chrome and iOS Safari) and created a pull request: https://github.com/deiucanta/chatpad/pull/80
Same issue on Brave. While the response is coming back the screen jumps up and down crazily. Cannot read until it is done.
see video:
https://user-images.githubusercontent.com/68733431/229057738-c6a0fa48-8ef9-4399-8730-b06bca5e9b3c.mp4