Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vkyprmr opened this issue May 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vkyprmr
Copy link

vkyprmr commented May 27, 2024

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
@vkyprmr vkyprmr added the bug Something isn't working label May 27, 2024
@arnaudmiribel
Copy link
Owner

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.

@lukasmasuch
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants