Hi Devs,
I’m working on a chatbot that looks like ChatGPT, with old messages at the top and new ones at the bottom. There’s a weird issue where once the chat gets long enough that you need to scroll (usually after 3-4 messages), whenever the AI starts typing a response, it automatically jumps to the top of the conversation no matter where the user was scrolling.
I can fix it by forcing the scroll position right when streaming begins, but you can still see a quick flash where it jumps up first and then back down to the newest message.
Anyone run into this before? Any ideas how to fix it properly?
Regards,
Manishh