Adding a scroll to the chatbot

my chatbot works like this

as you can see the more message i type the lower the textbox goes. white the messages are in one placeholer, the textbox is in another. yet i canot seem to enable a height to the chat messages and enable scroll such that the text box stays init place and user can scroll back and forth to see the history

1 Like

Hi @jiniyash,

Thanks for posting and welcome to the Streamlit Community Forum!

Have you seen the new elements we released yesterday? This solves your issue.

Here are the docs for reference: Chat elements - Streamlit Docs

Happy Streamlit-ing! :balloon:

1 Like

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