streamlit-calendar
streamlit-calendar copied to clipboard
Display bug when inside a tab that is not the first tab
I'm having an issue when using the calendar inside a tab where only a little part of the calendar is displayed. The calendar gets back to normal after interaction with it by clicking on the calendar buttons.
This only happens when the calendar is in a tab that is not the first tab. Example code below:
- Good, works:
tab1, tab2 = st.tabs("tab1", "tab2")
with tab1:
show_calendar()
with tab2:
pass
- Bad, don't works:
tab1, tab2 = st.tabs("tab1", "tab2")
with tab1:
pass
with tab2:
show_calendar()