Locally started, the streamlit app works including the sidebar.
However in the streamlit-cloud, from this week the sidebar is missing
Link: https://iirfilter.streamlit.app/
App: hasn/filter.py at main · piratkapitaen/hasn · GitHub
requirements: hasn/requirements.txt at main · piratkapitaen/hasn · GitHub
No error message
streamlit version >=1.33.0, independent of python version
I just visited your app, and I can see the sidebar. It appears open by default.
There were some changes to the sidebar that went into 1.46.0, but your requirements say you are using 1.40.0, so that shouldn’t affect it. (You might do an explicit check that it’s running the version you expect it to.)
Is the sidebar completely missing, or just collapsed by default? Have you tried using st.set_page_config
to force it?
I also experienced the same issue.
Using
with st.sidebar:
st.button("Hello")
will result in sidebar shown locally but not on Streamlit Cloud.
Specifying the version in requirements.txt
streamlit==1.45.0
solved the issue for now, but it is not a long-term solution.
It seems like it’s not hitting all apps, but I did file a bug report: Sidebar unexpectedly initializes collapsed in fullscreen app · Issue #11710 · streamlit/streamlit · GitHub