arnaudmiribel / streamlit-extras

Discover, try, install and share Streamlit re-usable bits we call "extras"!
https://extras.streamlit.app
Apache License 2.0
669 stars 117 forks source link

🐛 [when using bottom container the app scrolls automatic to the bottom of the page] - Bottom container scrolling issue #228

Open vkyprmr opened 1 month ago

vkyprmr commented 1 month ago

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