Minimal working example to demonstrate streamlit bug
- Open app at https://datepicker-bug.streamlit.app (or locally)
- Reduce browser window width until the sidebar is automatically hidden (not needed when opening with mobile device)
- Open sidebar by clicking on the
>
in the top left - Click on the date picker
- Click on the month or year to change it
- The sidebar will collapse