anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[FEAT]: Ability to scroll up and read while the response is streaming

Open MorganMarshall opened this issue 1 year ago • 5 comments

What would you like to see?

I think users would really like to be able to scroll up and read while the response is streaming.

MorganMarshall avatar Sep 09 '24 17:09 MorganMarshall

You can scroll when its streaming to unlock the auto-scroll down. We actually had an issue earlier this year with the streaming not following the output. So scroll up should still unlock the auto-scroll, but we will keep auto-scrolling to output streams going forward

timothycarambat avatar Sep 09 '24 19:09 timothycarambat

Oh I see. My apologies I didn't catch it. Thanks for the response

MorganMarshall avatar Sep 09 '24 20:09 MorganMarshall

This is (at least for us in the selfhosted browser version) not working as intended. You can disable the auto scroll, if you send the prompt while not being scrolled to the very bottom of the page. But if you are scrolled to the bottom, which is probably the default when you write a prompt, then you can not (most of the times) "escape" the autoscroll and scolling up just pushed you down again. Also if you are not "trapped" in the auto scroll and read a part of the answer that has already been streamed, then you sometimes scroll too far down and end up in the "scroll trap" which you can not escape. AND the whole thing is not deterministic meaning sometimes you can scroll and escape but most of the times you can not.

2hy6v avatar Sep 17 '24 15:09 2hy6v

2hy6v, I think this is why I've noticed it on and off, thanks

MorganMarshall avatar Sep 20 '24 18:09 MorganMarshall

@shatfield4

timothycarambat avatar Sep 20 '24 19:09 timothycarambat

yeh this needs to be fixed

justme409 avatar Oct 10 '24 02:10 justme409