st.map is narrow inside expander unless another map is added #8004
Labels
feature:st.map
priority:P2
status:confirmed
Bug has been confirmed by the Streamlit team
type:bug
Something isn't working
Checklist
Summary
If I add a map inside an expander, it is fairly narrow. If I add a second map and refresh the page, it expands to the full container width.
Reproducible Code Example
Steps To Reproduce
Expand the expander, and note that the map is narrow
Click the checkbox to show another map
Hit r to refresh the app
Expected Behavior
The app should be full width
Current Behavior
No response
Is this a regression?
Debug info
Additional Information
Reported on https://discuss.streamlit.io/t/st-map-does-not-display-properly-inside-expander/60316?u=blackary
The text was updated successfully, but these errors were encountered: