arnaudmiribel/streamlit-extras

๐Ÿ› [when using bottom container the app scrolls automatic to the bottom of the page] - Bottom container scrolling issue

Opened this issue ยท 2 comments

Description

When using bottom container, the app scrolls automatic to the bottom if the page is really long. Is there already a solution to this problem?

Reproduction steps

import streamlit as st

from streamlit_extras.bottom_container import bottom

for i in range(999):
        st.write(i)

with bottom():
        st.write("This is the bottom container")
        st.text_input("This is a text input in the bottom container")


### Screenshots

_No response_

### Logs

_No response_

### Version of streamlit

1.35.0

### Version of streamlit-extras

0.4.2

Hey @vkyprmr, thanks for filing this issue and sorry for the delay. Tagged Lukas who authored this extra, hoping he can have a look or answer.

Oh yeah, the bottom container was mostly built for the chat input. That's why the scrolling gets activated. But we will eventually change that.