This updates <ScrollIntoView> so that the scroll only occurs on the first render.
This prevents the page from forcing scrolling, which was causing issues https://github.com/deiucanta/chatpad/issues/36
Scrolling only on first render allows the user to scroll as they wish (while the message is still streaming), while still keeping a "nice" UI of scrolling to the latest message.
This updates
<ScrollIntoView>
so that the scroll only occurs on the first render. This prevents the page from forcing scrolling, which was causing issues https://github.com/deiucanta/chatpad/issues/36 Scrolling only on first render allows the user to scroll as they wish (while the message is still streaming), while still keeping a "nice" UI of scrolling to the latest message.