# Preventing Scroll in Chat\_Message Interactions

**URL:** <https://discuss.streamlit.io/t/preventing-scroll-in-chat-message-interactions/118611>\
**Category:** Using Streamlit\
**Tags:** discussion\
**Created:** [August 11, 2025, 7:33pm UTC](https://discuss.streamlit.io/t/preventing-scroll-in-chat-message-interactions/118611 "2025-08-11T19:33:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suyuu](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/suyuu/32/67268_2.png) [@suyuu](https://discuss.streamlit.io/u/suyuu)\
**Post date:** [August 11, 2025, 7:33pm UTC](https://discuss.streamlit.io/t/preventing-scroll-in-chat-message-interactions/118611/1 "2025-08-11T19:33:49Z")

</div>

I’m following along with the build a basic LLM chatbot app documentation and was wondering how I can prevent the autoscroll to bottom that is occurring when new output is generated. I would like for the page to stay where the question is instead of dropping all the way down to the bottom.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [February 7, 2026, 7:34pm UTC](https://discuss.streamlit.io/t/preventing-scroll-in-chat-message-interactions/118611/2 "2026-02-07T19:34:14Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
