Can st.chat_message keep the message updated at the top of the chat UI?

Currently the chat box is from top to bottom, can the sequence be changed to show messages from bottom to top? Because I set a streamlit_bokeh_events input button, it only shows up at the top of the page and doesn’t seem to move to the bottom. Thanks.

I’ve posted a chat example which acts like openai’s chat and Whatsapp. Not sure if this is the behavior you seek. ChatGPT Style Example SOTA