I have a Question about sidebar on multipage…

ello.
I have a problem using streamlit and am asking this question.
I’m currently using multi-page, but when I click the sidebar menu on the left, the sidebar always disappears, so every time I select a menu, I have to click the expand button and then select the menu. To fix this, I added the code below to each page, but it still doesn’t fix it and disappears.
What’s the problem?
[Add Code]
st.set_page_config(
layout=“centered”,
initial_sidebar_state=“expanded”
)

OS: Ubuntu-server 22.04
Python: 3.11.0rc
Streamlit: 1.28.0

Hey @Byungchul_Jung,

Thanks for sharing this question! What do you mean by “when I click the sidebar menu on the left, the sidebar always disappears”? Are you able to share a screen recording?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.